jsonrpsee_server::middleware

Module http

Source
Expand description

HTTP related middleware. Various middleware implementations for HTTP specific purposes.

Structs§

Authority
Represent the http URI scheme that is returned by the HTTP host header
HostFilter
Middleware to enable host filtering.
HostFilterLayer
Middleware to enable host filtering.
InvalidPath
Error that occur if the specified path doesn’t start with /<path>
ProxyGetRequest
Proxy GET /path requests to the specified RPC method calls.
ProxyGetRequestLayer
Layer that applies ProxyGetRequest which proxies the GET /path requests to specific RPC method calls and that strips the response.
WhitelistedHosts
Represent the URL patterns that is whitelisted.

Enums§

AuthorityError
Error that can happen when parsing an URI authority fails.
Port
Port pattern