# Functions
HTTPDecoderAllowedMethods sets the allowed HTTP methods.
HTTPDecoderJSONFollowsFormFormat if set tells the decoder that JSON follows the same conventions as the form decoder, meaning `{"foo.bar": "..."}` is translated to `{"foo": {"bar": "..."}}`.
HTTPDecoderSetIgnoreParseErrorsStrategy sets a strategy for dealing with strconv.Parse* errors:
- decoderx.ParseErrorIgnoreConversionErrors will ignore any parse errors caused by strconv.Parse* and use the raw form field value, which is a string, when such a parse error occurs.
HTTPDecoderSetMaxCircularReferenceDepth sets the maximum recursive reference resolution depth.
HTTPDecoderSetValidatePayloads sets if payloads should be validated or not.
HTTPDecoderUseQueryAndBody will check both the HTTP body and the HTTP query params when decoding.
HTTPFormDecoder configures the HTTP decoder to only accept form-data (application/x-www-form-urlencoded, multipart/form-data).
HTTPJSONDecoder configures the HTTP decoder to only accept JSON data (application/json).
HTTPJSONSchemaCompiler sets a JSON schema to be used for validation and type assertion of incoming requests.
HTTPKeepRequestBody configures the HTTP decoder to allow other HTTP request body readers to read the body as well by keeping the data in memory.
HTTPRawJSONSchemaCompiler uses a JSON Schema Compiler with the provided JSON Schema in raw byte form.
MustHTTPRawJSONSchemaCompiler uses HTTPRawJSONSchemaCompiler and panics on error.
NewHTTP creates a new HTTP decoder.
# Constants
ParseErrorIgnoreConversionErrors will ignore any errors caused by strconv.Parse* and use the raw form field value, which is a string, when such a parse error occurs.
ParseErrorReturnOnConversionErrors will abort and return with an error if strconv.Parse* returns an error.
ParseErrorUseEmptyValueOnConversionErrors will ignore any parse errors caused by strconv.Parse* and use the default value of the type to be casted, e.g.
# Type aliases
No description provided by the author