Packages

c

zio.http.ZClient

ClientLive

final class ClientLive extends Client

Self Type
ClientLive
Linear Supertypes
ZClient[Any, Body, Throwable, Response], HeaderOps[ZClient[Any, Body, Throwable, Response]], HeaderChecks[ZClient[Any, Body, Throwable, Response]], HeaderGetters, HeaderModifier[ZClient[Any, Body, Throwable, Response]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClientLive
  2. ZClient
  3. HeaderOps
  4. HeaderChecks
  5. HeaderGetters
  6. HeaderModifier
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

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

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 addHeader(name: CharSequence, value: CharSequence): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    HeaderModifier
  6. final def addHeader(header: Header): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    HeaderModifier
  7. final def addHeaders(headers: Headers): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    HeaderModifier
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. final def contramap[In2](f: (In2) => Body): ZClient[Any, In2, Throwable, Response]
    Definition Classes
    ZClient
  11. final def contramapZIO[Env1 <: Any, Err1 >: Throwable, In2](f: (In2) => ZIO[Env1, Err1, Body]): ZClient[Env1, In2, Err1, Response]
    Definition Classes
    ZClient
  12. final def delete(pathSuffix: String)(implicit trace: Trace, ev: <:<[Body, Body]): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  13. final def delete(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  14. final def dieOn(f: (Throwable) => Boolean)(implicit ev1: IsSubtypeOfError[Throwable, Throwable], ev2: CanFail[Throwable], trace: Trace): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. final def get(pathSuffix: String)(implicit trace: Trace, ev: <:<[Body, Body]): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  18. final def get(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def hasContentType(value: CharSequence): Boolean
    Definition Classes
    HeaderChecks
  21. final def hasFormUrlencodedContentType: Boolean
    Definition Classes
    HeaderChecks
  22. final def hasHeader(header: Header): Boolean
    Definition Classes
    HeaderChecks
  23. final def hasHeader(headerType: HeaderType): Boolean
    Definition Classes
    HeaderChecks
  24. final def hasHeader(name: CharSequence): Boolean
    Definition Classes
    HeaderChecks
  25. final def hasJsonContentType: Boolean
    Definition Classes
    HeaderChecks
  26. final def hasMediaType(mediaType: MediaType): Boolean
    Definition Classes
    HeaderChecks
  27. final def hasTextPlainContentType: Boolean
    Definition Classes
    HeaderChecks
  28. final def hasXhtmlXmlContentType: Boolean
    Definition Classes
    HeaderChecks
  29. final def hasXmlContentType: Boolean
    Definition Classes
    HeaderChecks
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def head(pathSuffix: String)(implicit trace: Trace, ev: <:<[Body, Body]): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  32. final def head(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  33. final def header(headerType: HeaderType): Option[HeaderValue]

    Gets a header or returns None if the header was not present or it could not be parsed

    Gets a header or returns None if the header was not present or it could not be parsed

    Definition Classes
    HeaderGetters
  34. final def headerOrFail(headerType: HeaderType): Option[Either[String, HeaderValue]]

    Gets a header.

    Gets a header. If the header is not present, returns None. If the header could not be parsed it returns the parsing error

    Definition Classes
    HeaderGetters
  35. final def headers(headerType: HeaderType): Chunk[HeaderValue]
    Definition Classes
    HeaderGetters
  36. val headers: Headers

    Returns the headers

    Returns the headers

    Definition Classes
    ClientLiveZClientHeaderGetters
  37. final def host(host: String): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  38. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  39. final def map[Out2](f: (Response) => Out2): ZClient[Any, Body, Throwable, Out2]
    Definition Classes
    ZClient
  40. def mapError[Err2](f: (Throwable) => Err2): ZClient[Any, Body, Err2, Response]
    Definition Classes
    ZClient
  41. final def mapZIO[Env1 <: Any, Err1 >: Throwable, Out2](f: (Response) => ZIO[Env1, Err1, Out2]): ZClient[Env1, Body, Err1, Out2]
    Definition Classes
    ZClient
  42. val method: Method
    Definition Classes
    ClientLiveZClient
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  46. final def patch(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  47. final def path(segment: String): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  48. final def port(port: Int): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  49. final def post(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  50. final def put(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  51. def query(key: String, value: String): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  52. final def rawHeader(headerType: HeaderType): Option[String]

    Gets the raw unparsed header value

    Gets the raw unparsed header value

    Definition Classes
    HeaderGetters
  53. final def rawHeader(name: CharSequence): Option[String]

    Gets the raw unparsed header value

    Gets the raw unparsed header value

    Definition Classes
    HeaderGetters
  54. 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
  55. final def removeHeader(name: String): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    HeaderModifier
  56. final def removeHeader(headerType: HeaderType): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    HeaderModifier
  57. final def removeHeaders(headers: Set[String]): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    HeaderModifier
  58. def request(version: Version, method: Method, url: URL, headers: Headers, body: Body, sslConfig: Option[ClientSSLConfig])(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ClientLiveZClient
  59. final def request(request: Request)(implicit ev: <:<[Body, Body], trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  60. final def request(method: Method, pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Any, Throwable, Response]
    Definition Classes
    ZClient
  61. final def retry[Env1 <: Any](policy: Schedule[Env1, Throwable, Any]): ZClient[Env1, Body, Throwable, Response]
    Definition Classes
    ZClient
  62. final def scheme(scheme: Scheme): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  63. final def setHeaders(headers: Headers): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    HeaderModifier
  64. def socket[Env1](version: Version, url: URL, headers: Headers, app: SocketApp[Env1])(implicit trace: Trace): ZIO[Env1 with Scope, Throwable, Response]
    Definition Classes
    ClientLiveZClient
  65. final def socket[Env1 <: Any](pathSuffix: String)(app: SocketApp[Env1])(implicit trace: Trace): ZIO[Env1 with Scope, Throwable, Response]
    Definition Classes
    ZClient
  66. final def ssl(ssl: ClientSSLConfig): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  67. val sslConfig: Option[ClientSSLConfig]
    Definition Classes
    ClientLiveZClient
  68. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  69. def toString(): String
    Definition Classes
    AnyRef → Any
  70. def updateHeaders(update: (Headers) => Headers): ZClient[Any, Body, Throwable, Response]

    Updates the current Headers with new one, using the provided update function passed.

    Updates the current Headers with new one, using the provided update function passed.

    Definition Classes
    ZClientHeaderModifier
  71. final def uri(uri: URI): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  72. final def url(url: URL): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  73. val url: URL
    Definition Classes
    ClientLiveZClient
  74. val version: Version
    Definition Classes
    ClientLiveZClient
  75. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  76. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  77. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  78. def withDisabledStreaming(implicit ev1: <:<[Response, Response], ev2: <:<[Throwable, Throwable]): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    ZClient
  79. def withHeader(header: Header): ZClient[Any, Body, Throwable, Response]
    Definition Classes
    HeaderModifier

Deprecated Value Members

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

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

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

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

Inherited from HeaderGetters

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

Inherited from AnyRef

Inherited from Any

Ungrouped