All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cognite.sdk.scala.v1.package.scala Maven / Gradle / Ivy

The newest version!
// Copyright 2020 Cognite AS
// SPDX-License-Identifier: Apache-2.0

package com.cognite.sdk.scala

import cats.Id
import com.cognite.sdk.scala.sttp.GzipBackend
import _root_.sttp.client3.{EitherBackend, HttpURLConnectionBackend, SttpBackend}

package object v1 {
  type OrError[T] = Either[Throwable, T]
  implicit val sttpBackend: SttpBackend[OrError, Any] =
    new EitherBackend(new GzipBackend[Id, Any](HttpURLConnectionBackend()))
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy