jsonrpsee_server::http::response

Function ok_response

source
pub fn ok_response(body: impl Into<HttpBody>) -> HttpResponse
Expand description

Create a valid JSON response.