Module jsonrpsee_http_server::response
source · Expand description
Common builders for RPC responses. Contains common builders for hyper responses.
Functions
Create a text/plain response for not allowed hosts.
Create a response for json internal error.
Create a text/plain response for invalid CORS “Allow-*” headers.
Create a text/plain response for invalid CORS “Origin” headers.
Create a json response for empty or malformed requests (400)
Create a text/plain response for disallowed method used.
Create a valid JSON response.
Create a json response for oversized requests (413)
Create a response for unsupported content type.