Builder1

harness.http.client.ResponseOps$.Builder1
trait Builder1[GetResponseR, ResponseT] extends Builder2[GetResponseR, ResponseT, Throwable]

Attributes

Graph
Supertypes
trait Builder2[GetResponseR, ResponseT, Throwable]
class Object
trait Matchable
class Any
Known subtypes
class HttpResponse[ResponseBody]
class Cached[ResponseBody]
class Const[ResponseBody]
Self type
Builder1[GetResponseR, ResponseT]

Members list

Value members

Concrete methods

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

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
protected def getResponse: RIO[GetResponseR & Scope, HttpResponse[ResponseT]]

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

Concrete fields

override protected val errorCodec: ErrorCodec[Throwable]