content_type_is_json

Function content_type_is_json 

Source
pub fn content_type_is_json<T: Body>(request: &HttpRequest<T>) -> bool
Expand description

Checks that content type of received request is valid for JSON-RPC.