Function json_rpc2::handle [−][src]
pub fn handle<'a>(
services: &'a Vec<&'a Box<dyn Service>>,
request: &mut Request
) -> Result<Response>
Call services in order and return the first response message.
If no services match the incoming request this will
return a Error::MethodNotFound
.