ZClient

zio.http.ZClient
See theZClient companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
ZClient.type

Members list

Type members

Classlikes

object BodyDecoder

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait BodyDecoder[-Env, +Err, +Out]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type
BodyDecoder[Env, Err, Out]
object BodyEncoder

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait BodyEncoder[-Env, +Err, -In]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type
BodyEncoder[Env, Err, In]
final case class Config(ssl: Option[ClientSSLConfig], proxy: Option[Proxy], connectionPool: ConnectionPoolConfig, maxInitialLineLength: Int, maxHeaderSize: Int, requestDecompression: Decompression, localAddress: Option[InetSocketAddress], addUserAgentHeader: Boolean, webSocketConfig: WebSocketConfig, idleTimeout: Option[Duration], connectionTimeout: Option[Duration])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
object Config

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Config.type
trait Driver[-Env, +Err]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class FetchDriver
Self type
Driver[Env, Err]

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromDriver[Env, Err](driver: Driver[Env, Err]): ZClient[Env, Body, Err, Response]
def request(request: Request)(implicit trace: Trace): ZIO[Client & Scope, Throwable, Response]
def socket[R](socketApp: WebSocketApp[R])(implicit trace: Trace): ZIO[R & Client & Scope, Throwable, Response]

Concrete fields

Inherited fields

lazy val default: ZLayer[Any, Throwable, Client]

Attributes

Inherited from:
ZClientPlatformSpecific
lazy val live: ZLayer[Config, Throwable, Client]

Attributes

Inherited from:
ZClientPlatformSpecific