[][src]Function warp_json_rpc::filters::method

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.