Function jsonrpsee_server::http::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.