zio.http.api.internal
package zio.http.api.internal
Type members
Classlikes
final case class HandlerMatch[-R, +E, I, O](handledApi: HandledEndpoint[R, E, I, O, _], routeInputs: Chunk[Any])
case class HandlerTree[-R, +E](constants: Map[String, HandlerTree[R, E]], parsers: Map[TextCodec[_], HandlerTree[R, E]], leaf: Option[HandledEndpoint[R, E, _, _, _]])
- Companion:
- object
A RichTextCodec
is a more compositional version of TextCodec
, which has
similar power to traditional parser combinators / pretty printers. Although
slower than the simpler text codecs, they can be utilized to parse structured
information in HTTP headers, which in turn allows generating much better
error messages and documentation than otherwise possible.
A RichTextCodec
is a more compositional version of TextCodec
, which has
similar power to traditional parser combinators / pretty printers. Although
slower than the simpler text codecs, they can be utilized to parse structured
information in HTTP headers, which in turn allows generating much better
error messages and documentation than otherwise possible.
- Companion:
- object