FetchDriver

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

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Driver[Any, 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[Any & Scope, Throwable, Response]

Attributes

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

Attributes

Definition Classes

Inherited methods

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

Attributes

Inherited from:
Driver
final def disableStreaming(implicit ev: Throwable <:< Throwable): Driver[Env, Throwable]

Attributes

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

Attributes

Inherited from:
Driver
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Driver
def widenError[E1](implicit ev: Throwable <:< E1): Driver[Env, E1]

Attributes

Inherited from:
Driver