ResponseSchemaOps

zio.http.schema.ResponseSchemaOps
final class ResponseSchemaOps(response: Response) extends AnyVal

Attributes

Source
ResponseSchemaOps.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def header[T](name: String)(implicit schema: Schema[T]): Either[HeaderError, T]

Attributes

Source
ResponseSchemaOps.scala
def headerAll[T](name: String)(implicit schema: Schema[T]): Either[HeaderError, Chunk[T]]

Attributes

Source
ResponseSchemaOps.scala
def headerOrElse[T](name: String, default: => T)(implicit schema: Schema[T]): T

Attributes

Source
ResponseSchemaOps.scala