jsonrpsee_core::server

Module helpers

Source
Available on crate feature server only.
Expand description

Helpers.

Structs§

BoundedWriter
Bounded writer that allows writing at most max_len bytes.
MethodSink
Sink that is used to send back the result to the server for a specific method.

Functions§

prepare_error
Figure out if this is a sufficiently complete request that we can extract an Id out of, or just plain unparseable garbage.