Packages

c

zio.http.ZClient

ClientLive

final class ClientLive extends Client with ClientRequestEncoder

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClientLive
  2. ClientRequestEncoder
  3. ZClient
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ClientLive(driver: ClientDriver)(connectionPool: ConnectionPool[Connection])(settings: ClientConfig)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def @@[LowerEnv <: UpperEnv, UpperEnv <: Any, LowerIn <: UpperIn, UpperIn <: Body, LowerErr >: Throwable, UpperErr >: LowerErr, LowerOut >: Response, UpperOut >: LowerOut](aspect: ZClientAspect[LowerEnv, UpperEnv, LowerIn, UpperIn, LowerErr, UpperErr, LowerOut, UpperOut]): ZClient[UpperEnv, UpperIn, LowerErr, LowerOut]

    Applies the specified client aspect, which can modify the execution of this client.

    Applies the specified client aspect, which can modify the execution of this client.

    Definition Classes
    ZClient
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def contramap[In2](f: (In2) => Body): ZClient[Any, In2, Throwable, Response]
    Definition Classes
    ZClient
  8. final def contramapZIO[Env1 <: Any, Err1 >: Throwable, In2](f: (In2) => ZIO[Env1, Err1, Body]): ZClient[Env1, In2, Err1, Response]
    Definition Classes
    ZClient
  9. final def delete(pathSuffix: String)(implicit trace: Trace, ev: <:<[Body, Body]): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  10. final def delete(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  11. final def dieOn(f: (Throwable) => Boolean)(implicit ev1: IsSubtypeOfError[Throwable, Throwable], ev2: CanFail[Throwable], trace: Trace): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  12. def encode(req: Request)(implicit trace: Trace): Task[FullHttpRequest]

    Converts client params to JFullHttpRequest

    Converts client params to JFullHttpRequest

    Definition Classes
    ClientRequestEncoder
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. final def get(pathSuffix: String)(implicit trace: Trace, ev: <:<[Body, Body]): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  16. final def get(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def head(pathSuffix: String)(implicit trace: Trace, ev: <:<[Body, Body]): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  20. final def head(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  21. final def header(key: String, value: String): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  22. val headers: Headers
    Definition Classes
    ClientLiveZClient
  23. final def host(host: String): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  24. val hostOption: Option[String]
    Definition Classes
    ClientLiveZClient
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def map[Out2](f: (Response) => Out2): ZClient[Any, Body, Throwable, Out2]
    Definition Classes
    ZClient
  27. final def mapZIO[Env1 <: Any, Err1 >: Throwable, Out2](f: (Response) => ZIO[Env1, Err1, Out2]): ZClient[Env1, Body, Err1, Out2]
    Definition Classes
    ZClient
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def patch(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  32. final def path(segment: String): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  33. val pathPrefix: Path
    Definition Classes
    ClientLiveZClient
  34. final def port(port: Int): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  35. val portOption: Option[Int]
    Definition Classes
    ClientLiveZClient
  36. final def post(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  37. final def put(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  38. val queries: QueryParams
    Definition Classes
    ClientLiveZClient
  39. def query(key: String, value: String): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  40. final def refineOrDie[Err2](pf: PartialFunction[Throwable, Err2])(implicit ev1: IsSubtypeOfError[Throwable, Throwable], ev2: CanFail[Throwable], trace: Trace): ZClient[Any, Body, Err2, Response]
    Definition Classes
    ZClient
  41. def request(body: Body, headers: Headers, hostOption: Option[String], method: Method, path: Path, portOption: Option[Int], queries: QueryParams, schemeOption: Option[Scheme], sslConfig: Option[ClientSSLConfig], version: Version)(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ClientLiveZClient
  42. final def request(request: Request)(implicit ev: <:<[Body, Body], trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  43. final def request(method: Method, pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  44. final def retry[Env1 <: Any](policy: Schedule[Env1, Throwable, Any]): ZClient[Env1, Body, Throwable, Response]
    Definition Classes
    ZClient
  45. final def scheme(scheme: Scheme): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  46. val schemeOption: Option[Scheme]
    Definition Classes
    ClientLiveZClient
  47. def socket[R](app: SocketApp[R], headers: Headers, hostOption: Option[String], path: Path, portOption: Option[Int], queries: QueryParams, schemeOption: Option[Scheme], version: Version)(implicit trace: Trace): ZIO[R with Scope, Throwable, Response]
    Definition Classes
    ClientLiveZClient
  48. final def socket[Env1 <: Any](url: String, app: SocketApp[Env1], headers: Headers = Headers.empty)(implicit trace: Trace): ZIO[Env1 with Scope, Throwable, Response]
    Definition Classes
    ZClient
  49. final def socket[Env1 <: Any](pathSuffix: String)(app: SocketApp[Env1])(implicit trace: Trace): ZIO[Env1 with Scope, Throwable, Response]
    Definition Classes
    ZClient
  50. final def ssl(ssl: ClientSSLConfig): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  51. val sslConfig: Option[ClientSSLConfig]
    Definition Classes
    ClientLiveZClient
  52. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  53. def toString(): String
    Definition Classes
    AnyRef → Any
  54. final def uri(uri: URI): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  55. final def url(url: URL): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ClientRequestEncoder

Inherited from ZClient[Any, Body, Throwable, Response]

Inherited from AnyRef

Inherited from Any

Ungrouped