Builder2

harness.http.client.ResponseOps$.Builder2
trait Builder2[GetResponseR, ResponseT, ErrorT]

Attributes

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

Members list

Value members

Abstract methods

protected def getResponse: RIO[GetResponseR & Scope, HttpResponse[ResponseT]]

Concrete methods

final def encodedBody[T](using evidence$2: StringDecoder[T]): ZIO[GetResponseR & Logger, ErrorT, T]
final def forwardBodyToPath(path: Path): RIO[GetResponseR, Long]
final def getResponseStringBody: RIO[GetResponseR & Logger, HttpResponse[String]]
final def jsonBody[T](using evidence$3: JsonDecoder[T]): ZIO[GetResponseR & Logger, ErrorT, T]
final def stringBody: ZIO[GetResponseR & Logger, ErrorT, String]
final def unit2xx: ZIO[GetResponseR & Logger, ErrorT, Unit]

Abstract fields

protected val errorCodec: ErrorCodec[ErrorT]