Skip to main content

Module http_helpers

Module http_helpers 

Source
Available on crate feature http-helpers only.
Expand description

Shared HTTP utilities.

Structs§

Body
Default HTTP body used by jsonrpsee.

Enums§

HttpError
Represents error that can when reading with a HTTP body.

Functions§

read_body
Read data from a HTTP body and return the data if it is valid JSON and within the allowed size range.

Type Aliases§

Request
HTTP request type.
Response
HTTP response type.