Skip to main content

finish

Function finish 

Source
pub(crate) fn finish(status: u16, body: &str) -> !
Expand description

Prints the response body and exits nonzero unless the status is 2xx.