Crate ts_webapi

Crate ts_webapi 

Source
Expand description

§ts-webapi

Modules§

middleware
Common middleware layers

Structs§

BadRequest
JSON payload for a bad request.
Problem
A problem detailing part of the error response.

Enums§

ErrorResponse
An error response from a route handler.

Traits§

IntoErrorResponse
Trait for providing convenience functions to mark an error as a given type.
UriExt
Extension trait for URIs

Functions§

cors_layer
CORS layer where the common HTTP methods, headers, and localhost are all allowed by default.