pub fn build_request(request: &Request<'_>) -> String
Expand description
Builds a JSON request.
method
must be the name of the method to request. params_json
must be the JSON-formatted
object or array containing the parameters of the request.
§Panic
Panics if the Request::id_json
or Request::params_json
isn’t valid JSON.