ClientResponse

zhttp.clients.ClientResponse
case class ClientResponse(hdrs: Headers, code: StatusCode, stream: ZStream[Any, Throwable, Chunk[Byte]])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def body: ZIO[Any, Throwable, Chunk[Byte]]
def bodyAsText: ZIO[Any, Throwable, String]
def fromJSON[A : JsonDecoder]: ZIO[Any, Throwable, Either[String, A]]
def httpString: String
def isKeepAlive: Boolean
def protocol: String

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product