case class Metadata(path: Map[String, String], query: Map[String, Seq[String]], headers: Map[CaseInsensitive, Seq[String]])
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 parameters:
- 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