Package

sttp.client3.asynchttpclient

zio

Permalink

package zio

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. zio
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class AsyncHttpClientZioBackend extends AsyncHttpClientBackend[Task, ZioStreams, ZioStreams with WebSockets]

    Permalink
  2. type SttpClient = Has[Service]

    Permalink

    ZIO-environment service definition, which is an SttpBackend.

  3. type SttpClientStubbing = Has[zio.SttpClientStubbing.Service]

    Permalink

Value Members

  1. object AsyncHttpClientZioBackend

    Permalink
  2. object SttpClient extends Serializable

    Permalink
  3. object SttpClientStubbing extends SttpClientStubbingBase[Any, ZioStreams with WebSockets] with Serializable

    Permalink
  4. def send[T](request: Request[T, Effect[Task] with ZioStreams with WebSockets]): ZIO[SttpClient, Throwable, Response[T]]

    Permalink

    Sends the request.

    Sends the request. Only requests for which the method & URI are specified can be sent.

    returns

    An effect resulting in a Response, containing the body, deserialized as specified by the request (see RequestT.response), if the request was successful (1xx, 2xx, 3xx response codes), or if there was a protocol-level failure (4xx, 5xx response codes). A failed effect, if an exception occurred when connecting to the target host, writing the request or reading the response. Known exceptions are converted to one of SttpClientException. Other exceptions are kept unchanged.

  5. def sendR[T, R](request: Request[T, Effect[[β$0$]ZIO[R, Throwable, β$0$]] with ZioStreams with WebSockets]): ZIO[SttpClient with R, Throwable, Response[T]]

    Permalink

    A variant of send which allows the effects that are part of the response handling specification (when using websockets or resource-safe streaming) to use an R environment.

  6. object stubbing

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped