Module http_request_compatibility

Source
Expand description

Compatibility fixes for JSON-RPC HTTP requests.

These fixes are applied at the HTTP level, before the RPC request is parsed.

Structs§

HttpRequestMiddleware
HTTP HttpRequestMiddleware with compatibility workarounds.
HttpRequestMiddlewareLayer
Implement the Layer for HttpRequestMiddleware to allow injecting the cookie
JsonRpcRequest 🔒
A version-agnostic JSON-RPC request.
JsonRpcResponse 🔒
A version-agnostic JSON-RPC response.

Enums§

JsonRpcVersion 🔒

Traits§

With
A trait for updating an object, consuming it and returning the updated version.