pub fn write_request(
        &self,
        id: rpc::RequestId,
        method: impl Into<String>,
        params: Option<Value>,
    ) {
        self.write(rpc::Message::request(id, method.into(), params));
    }
/// Write out an RPC request.
///
/// **Note:** This does not internally expect a response from the server.
/// Prefer using [`request`](Omegga::request) over this for the ability to
/// await a response from the RPC server.
Write out an RPC request.
Note:** This does not internally expect a response from the server.
Prefer using [`request`](Omegga::request) over this for the ability to
await a response from the RPC server.
Write out an RPC request . Note : ** This does not internally expect a response from the server . Prefer using [ ` request ` ] ( Omegga :: request ) over this for the ability to await a response from the RPC server .
pub fn write_request(
        &self,
        id: rpc::RequestId,
        method: impl Into<String>,
        params: Option<Value>,
    ) {
        self.write(rpc::Message::request(id, method.into(), params));
    }
pub fn write_request ( & self , id : rpc :: RequestId , method : impl Into < String > , params : Option < Value > , ) { self . write ( rpc :: Message :: request ( id , method . into ( ) , params ) ) ; }
Write out an RPC request.
Write out an RPC request .
&self
id
rpc::RequestId
method
impl Into<String>
params
Option<Value>
&self
id
rpc::RequestId
method
impl Into<String>
params
Option<Value>