Skip to main content

parse

Function parse 

Source
pub fn parse(bytes: &[u8], limits: &Limits) -> Result<Message, Rejection>
Expand description

Parses one JSON-RPC message, enforcing limits.

ยงErrors

Returns a Rejection describing the response to send, if any.