Skip to main content

mk

Function mk 

Source
pub fn mk(method: &str, params: Value) -> RpcRequest
Expand description

Build an RpcRequest with a fixed id=1 (single in-flight request per conn — the worker services one at a time; the id is validated by WorkerConn per §4.4).