Function jsonrpsee_server::http::content_type_is_json
source ยท pub fn content_type_is_json(request: &Request<Body>) -> bool
Expand description
Checks that content type of received request is valid for JSON-RPC.
pub fn content_type_is_json(request: &Request<Body>) -> bool
Checks that content type of received request is valid for JSON-RPC.