Interface FormDecoding<TInput, TBody>

URL-encoded form decoding capability.

Represents form data submitted as application/x-www-form-urlencoded as a * request body of type URLSearchParams, or optionally transforms it to another type.

Responds with 415 (Unsupported Media Type) status code if request has content type specified, and it is not application/x-www-form-urlencoded or text/plain.

Type Parameters

  • TInput extends HttpMeans = HttpMeans

    Input HTTP request processing means.

  • TBody = URLSearchParams

    Request body type.

Hierarchy

Methods

Methods

Generated using TypeDoc