jsonrpsee_server::http

Function is_json

source
pub fn is_json(content_type: Option<&HeaderValue>) -> bool
Expand description

Returns true if the content_type header indicates a valid JSON message.