pub fn new_request( method: impl Into<String>, params: Map<String, Value>, ) -> Envelope
Build a request envelope with a generated id.