Skip to main content

dispatch

Function dispatch 

Source
pub fn dispatch(daemon: &Daemon, req: &Request) -> String
Expand description

Translate a parsed Request into a wire response (warnings + envelope + body, terminated by \n per the protocol spec — the caller adds the final blank line).