smithy4s.http
Type members
Classlikes
An abstraction exposing serialisation functions to decode from bytes / encode to bytes, based on a path-dependant Codec types.
An abstraction exposing serialisation functions to decode from bytes / encode to bytes, based on a path-dependant Codec types.
Only used in unary request/response patterns.
- Companion
- object
Typeclass construct allowing to retrieve the status code associated to a value.
Typeclass construct allowing to retrieve the status code associated to a value.
- Companion
- object
Datatype containing metadata associated to a http message.
Datatype containing metadata associated to a http message.
The metadata is what is found in the http headers, and can be derived from the http path, the query parameters, or the headers.
Associated to it are a pair of Encoder/Decoder typeclasses, that can be derived from a schema.
- Value Params
- headers
the header parameters of the http message
- path
the path parameters of the http message
- query
the query parameters of the http message
- Companion
- object
Value members
Concrete methods
Returns the first http endpoint that matches both a method and path, as well as the map of extracted segment values.
Returns the first http endpoint that matches both a method and path, as well as the map of extracted segment values.