FetchDriver

zio.http.internal.FetchDriver
See theFetchDriver companion object
final case class FetchDriver() extends Driver[Any, Scope, Throwable]

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Driver[Any, Scope, Throwable]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def request(version: Version, requestMethod: Method, url: URL, requestHeaders: Headers, requestBody: Body, sslConfig: Option[ClientSSLConfig], proxy: Option[Proxy])(implicit trace: Trace): ZIO[Scope, Throwable, Response]

Attributes

Definition Classes
override def socket[Env1](version: Version, url: URL, headers: Headers, app: WebSocketApp[Env1])(implicit trace: Trace, ev: Scope =:= Scope): ZIO[Env1 & Scope, Throwable, Response]

Attributes

Definition Classes

Inherited methods

final def apply(request: Request)(implicit trace: Trace): ZIO[Any & Scope, Throwable, Response]

Attributes

Inherited from:
Driver
def disableStreaming(implicit ev1: Scope =:= Scope): Driver[Any, Any, Throwable]

Attributes

Inherited from:
Driver
final def mapError[Err2](f: Throwable => Err2): Driver[Any, Scope, Err2]

Attributes

Inherited from:
Driver

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def refineOrDie[Err2](pf: PartialFunction[Throwable, Err2])(implicit ev1: IsSubtypeOfError[Throwable, Throwable], ev2: CanFail[Throwable], trace: Trace): Driver[Any, Scope, Err2]

Attributes

Inherited from:
Driver
final def request(req: Request)(implicit trace: Trace): ZIO[Any & Scope, Throwable, Response]

Attributes

Inherited from:
Driver
final def retry[Env1, Err1 >: Throwable](policy: Schedule[Env1, Err1, Any]): Driver[Env1, Scope, Err1]

Attributes

Inherited from:
Driver