Module http_request_compatibility

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.