warp_json_rpc::filters
pub fn method( name: &'static str) -> impl Filter<Extract = (), Error = Rejection> + Copy
Create a Filter that requires the request RPC method to be given name.
Filter