Skip to main content

build_request

Function build_request 

Source
pub fn build_request(req: &RemoteDispatch) -> Result<BuiltRequest, Error>
Expand description

Pure builder: turn a RemoteDispatch into the subject/headers/body to publish plus the resulting action. No I/O — unit-testable without a broker.