zio.http.codec
Members list
Type members
Classlikes
A alternator is a type class responsible for combining invariant type parameters using an either. It is used to compose parameters of the zio.http.codec.HttpCodec data type.
A alternator is a type class responsible for combining invariant type parameters using an either. It is used to compose parameters of the zio.http.codec.HttpCodec data type.
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Companion:
- trait
- Graph
- Supertypes
- trait AlternatorLowPriority1trait AlternatorLowPriority2trait AlternatorLowPriority3class Objecttrait Matchableclass Any
- Self type
- Alternator.type
Attributes
- Graph
- Supertypes
- Known subtypes
- object Alternator.type
Attributes
- Graph
- Supertypes
- Known subtypes
- trait AlternatorLowPriority1object Alternator.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
A combiner is a type class responsible for combining invariant type parameters using a tuple. It is used to compose the parameters of the zio.http.codec.HttpCodec data type.
A combiner is a type class responsible for combining invariant type parameters using a tuple. It is used to compose the parameters of the zio.http.codec.HttpCodec data type.
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Companion:
- trait
- Graph
- Supertypes
- trait CombinerLowPriority1trait CombinerLowPriority2trait CombinerLowPriority3trait CombinerLowPriority4trait CombinerLowPriority5trait CombinerLowPriority6class Objecttrait Matchableclass Any
- Self type
- Combiner.type
Attributes
- Graph
- Supertypes
- trait CombinerLowPriority2trait CombinerLowPriority3trait CombinerLowPriority4trait CombinerLowPriority5trait CombinerLowPriority6class Objecttrait Matchableclass Any
- Known subtypes
- object Combiner.type
Attributes
- Graph
- Supertypes
- trait CombinerLowPriority3trait CombinerLowPriority4trait CombinerLowPriority5trait CombinerLowPriority6class Objecttrait Matchableclass Any
- Known subtypes
- trait CombinerLowPriority1object Combiner.type
Attributes
- Graph
- Supertypes
- trait CombinerLowPriority4trait CombinerLowPriority5trait CombinerLowPriority6class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Graph
- Supertypes
- Known subtypes
Attributes
- Graph
- Supertypes
- Known subtypes
- trait CombinerLowPriority4trait CombinerLowPriority3trait CombinerLowPriority2trait CombinerLowPriority1object Combiner.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- trait CombinerLowPriority5trait CombinerLowPriority4trait CombinerLowPriority3trait CombinerLowPriority2trait CombinerLowPriority1object Combiner.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- ContentCodec.type
A Doc
models documentation for an endpoint or input.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- HeaderCodec.type
A zio.http.codec.HttpCodec represents a codec for a part of an HTTP request. HttpCodec the HTTP protocol, these parts may be the unconsumed portion of the HTTP path (a route codec), the query string parameters (a query codec), the request headers (a header codec), or the request body (a body codec).
A zio.http.codec.HttpCodec represents a codec for a part of an HTTP request. HttpCodec the HTTP protocol, these parts may be the unconsumed portion of the HTTP path (a route codec), the query string parameters (a query codec), the request headers (a header codec), or the request body (a body codec).
A HttpCodec is a purely declarative description of an input, and therefore, it can be used to generate documentation, clients, and client libraries.
HttpCodecs are a bit like invertible multi-channel parsers.
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait NoStackTraceclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
- class CustomErrorclass MalformedBodyclass MalformedHeaderclass MalformedMethodclass MalformedPathclass MalformedQueryParamclass MalformedStatusclass MissingHeaderclass MissingQueryParamclass PathTooShort
Attributes
- Companion:
- trait
- Graph
- Supertypes
- Self type
- HttpCodecError.type
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- HttpCodecType.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- MethodCodec.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- PathCodec.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- QueryCodec.type
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.
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
Attributes
- Companion:
- trait
- Graph
- Supertypes
- Self type
- RichTextCodec.type
A simple codec is either equal to a given value, or unconstrained within a domain of values.
A simple codec is either equal to a given value, or unconstrained within a domain of values.
Attributes
- Companion:
- object
- Graph
- Supertypes
- Known subtypes
- class Specified[A]class Unspecified[A]
Attributes
- Companion:
- trait
- Graph
- Supertypes
- Self type
- SimpleCodec.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- StatusCodec.type
A zio.http.codec.TextCodec defines a codec for a text fragment. The text fragment can be decoded into a value, or the value can be encoded into a text fragment.
A zio.http.codec.TextCodec defines a codec for a text fragment. The text fragment can be decoded into a value, or the value can be encoded into a text fragment.
Unlike parsers, text codecs operate on entire fragments. They do not consume input and leave remainders. Also unlike parsers, text codecs do not fail with error messages, but rather, simply return None if they do not succeed in decoding from a given text fragment. Finally, unlike ordinary parsers, text codecs are fully invertible, and can therefore be used in client generation.
Attributes
- Companion:
- object
- Graph
- Supertypes
- Known subtypes
- object BooleanCodec.typeclass Constantobject IntCodec.typeobject StringCodec.typeobject UUIDCodec.type
- Self type
- TextCodec[A]