An Endpoint that skips all path segments.
An identity Endpoint.
An evaluating Endpoint that reads a required chunked streaming binary body, interpreted as
an AsyncStream[Buf]
.
An evaluating Endpoint that reads a required binary request body, interpreted as an
Array[Byte]
, or throws a Error.NotPresent exception.
An evaluating Endpoint that reads a required binary request body, interpreted as an
Array[Byte]
, or throws a Error.NotPresent exception. The returned Endpoint only
matches non-chunked (non-streamed) requests.
An evaluating Endpoint that reads a binary request body, interpreted as a Array[Byte]
,
into an Option
.
An Endpoint that reads the required request body represented as CT
(ContentType
) and
interpreted as A
, or throws an Error.NotPresent exception.
An Endpoint that reads the required request body represented as CT
(ContentType
) and
interpreted as A
, or throws an Error.NotPresent exception. The returned Endpoint
only matches non-chunked (non-streamed) requests.
An Endpoint that reads an optional request body represented as CT
(ContentType
) and
interpreted as A
, into an Option
.
An evaluating Endpoint that reads a required cookie from the request or raises an Error.NotPresent exception when the cookie is missing.
An evaluating Endpoint that reads a required cookie from the request or raises an Error.NotPresent exception when the cookie is missing.
An evaluating Endpoint that reads an optional HTTP cookie from the request into an
Option
.
An evaluating Endpoint that reads an optional HTTP cookie from the request into an
Option
.
An evaluating Endpoint that reads a required HTTP header name
from the request or raises
an Error.NotPresent exception when the header is missing.
An evaluating Endpoint that reads a required HTTP header name
from the request or raises
an Error.NotPresent exception when the header is missing.
A matching Endpoint that only matches the requests that contain a given header name
.
A matching Endpoint that only matches the requests that contain a given header name
.
An evaluating Endpoint that reads an optional HTTP header name
from the request into an
Option
.
An evaluating Endpoint that reads an optional HTTP header name
from the request into an
Option
.
Alias for body[A, Application.Json]
.
Alias for body[A, Application.Json]
.
Alias for bodyOption[A, Application.Json]
.
Alias for bodyOption[A, Application.Json]
.
An evaluating Endpoint that reads a required attribute from a multipart/form-data
request.
An evaluating Endpoint that reads a required attribute from a multipart/form-data
request.
An evaluating Endpoint that reads an optional attribute from a multipart/form-data
request.
An evaluating Endpoint that reads an optional attribute from a multipart/form-data
request.
An evaluating Endpoint that reads a required attribute from a multipart/form-data
request.
An evaluating Endpoint that reads a required attribute from a multipart/form-data
request.
An evaluating Endpoint that reads a required attribute from a multipart/form-data
request.
An evaluating Endpoint that reads a required attribute from a multipart/form-data
request.
An evaluating Endpoint that reads a required file upload from a multipart/form-data
request.
An evaluating Endpoint that reads a required file upload from a multipart/form-data
request.
An evaluating Endpoint that reads an optional file upload from a multipart/form-data
request into an Option
.
An evaluating Endpoint that reads an optional file upload from a multipart/form-data
request into an Option
.
An evaluating Endpoint that optionally reads multiple file uploads from a multipart/form-data
request.
An evaluating Endpoint that optionally reads multiple file uploads from a multipart/form-data
request.
An evaluating Endpoint that requires multiple file uploads from a multipart/form-data
request.
An evaluating Endpoint that requires multiple file uploads from a multipart/form-data
request.
An evaluating Endpoint that reads a required query-string param name
from the
request or raises an Error.NotPresent exception when the param is missing; an
Error.NotValid exception is the param is empty.
An evaluating Endpoint that reads a required query-string param name
from the
request or raises an Error.NotPresent exception when the param is missing; an
Error.NotValid exception is the param is empty.
A matching Endpoint that only matches the requests that contain a given query-string
param name
.
A matching Endpoint that only matches the requests that contain a given query-string
param name
.
An evaluating Endpoint that reads an optional query-string param name
from the request
into an Option
.
An evaluating Endpoint that reads an optional query-string param name
from the request
into an Option
.
An evaluating Endpoint that reads an optional (in a meaning that a resulting
Seq
may be empty) multi-value query-string param name
from the request into a Seq
.
An evaluating Endpoint that reads an optional (in a meaning that a resulting
Seq
may be empty) multi-value query-string param name
from the request into a Seq
.
An evaluating Endpoint that reads a required multi-value query-string param name
from the request into a NonEmptyList
or raises a Error.NotPresent exception
when the params are missing or empty.
An evaluating Endpoint that reads a required multi-value query-string param name
from the request into a NonEmptyList
or raises a Error.NotPresent exception
when the params are missing or empty.
An Endpoint that matches a given string.
An Endpoint that matches a given string.
A matching Endpoint that reads a value of type A
(using the implicit
DecodePath instances defined for A
) from the current path segment.
A matching Endpoint that reads a value of type A
(using the implicit
DecodePath instances defined for A
) from the current path segment.
A matching Endpoint that reads a tail value A
(using the implicit
DecodePath instances defined for A
) from the entire path.
A matching Endpoint that reads a tail value A
(using the implicit
DecodePath instances defined for A
) from the entire path.
A root Endpoint that always matches and extracts the current request.
An evaluating Endpoint that reads the required request body, interpreted as a String
, or
throws an Error.NotPresent exception.
An evaluating Endpoint that reads the required request body, interpreted as a String
, or
throws an Error.NotPresent exception. The returned Endpoint only matches non-chunked
(non-streamed) requests.
An evaluating Endpoint that reads an optional request body, interpreted as a String
, into
an Option
.
Alias for body[A, Text.Plain]
Alias for body[A, Text.Plain]
Alias for bodyOption[A, Text.Plain]
Alias for bodyOption[A, Text.Plain]
A collection of Endpoint combinators.