ResponseOutputSyntax
zio.http.Handler.ResponseOutputSyntax
final implicit class ResponseOutputSyntax[-R, +Err, -In](val self: Handler[R, Err, In, Response]) extends AnyVal
Attributes
- Graph
-
- Supertypes
-
class AnyValtrait Matchableclass Any
Members list
Value members
Concrete methods
Extracts content-length from the response if available
Extracts content-length from the response if available
Attributes
Extracts the value of ContentType header
Extracts the value of ContentType header
Attributes
def header(headerType: HeaderType)(implicit trace: Trace): Handler[R, Err, In, Option[headerType.HeaderValue]]
Extracts the value of the provided header name.
Extracts the value of the provided header name.
Attributes
def headerOrFail(headerType: HeaderType)(implicit trace: Trace, ev: Err <:< String): Handler[R, String, In, Option[headerType.HeaderValue]]
Extracts the Headers from the type B if possible
Extracts the Headers from the type B if possible
Attributes
In this article