Function jsonrpsee_server::http::is_json
source ยท pub fn is_json(content_type: Option<&HeaderValue>) -> boolExpand description
Returns true if the content_type header indicates a valid JSON message.
pub fn is_json(content_type: Option<&HeaderValue>) -> boolReturns true if the content_type header indicates a valid JSON message.