AppliedResponse

harness.http.client.AppliedResponse
final class AppliedResponse(request: HttpRequest[RequestT]) extends Builder1[ClientT & Logger & Telemetry, ResponseT]

Attributes

Graph
Supertypes
trait Builder1[ClientT & Logger & Telemetry, ResponseT]
trait Builder2[ClientT & Logger & Telemetry, ResponseT, Throwable]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override protected def getResponse: RIO[ClientT & Logger & Telemetry & Scope, HttpResponse[ResponseT]]

Attributes

Definition Classes

Inherited methods

final def encodedBody[T](using evidence$2: StringDecoder[T]): ZIO[GetResponseR & Logger, ErrorT, T]

Attributes

Inherited from:
Builder2
final def forwardBodyToPath(path: Path): RIO[GetResponseR, Long]

Attributes

Inherited from:
Builder2
final def getResponseStringBody: RIO[GetResponseR & Logger, HttpResponse[String]]

Attributes

Inherited from:
Builder2
final def jsonBody[T](using evidence$3: JsonDecoder[T]): ZIO[GetResponseR & Logger, ErrorT, T]

Attributes

Inherited from:
Builder2
final def stringBody: ZIO[GetResponseR & Logger, ErrorT, String]

Attributes

Inherited from:
Builder2
final def unit2xx: ZIO[GetResponseR & Logger, ErrorT, Unit]

Attributes

Inherited from:
Builder2
final def withError[E](using evidence$1: ErrorCodec[E]): Builder2[GetResponseR, ResponseT, E]

Attributes

Inherited from:
Builder1

Inherited fields

override protected val errorCodec: ErrorCodec[Throwable]

Attributes

Inherited from:
Builder1