Function hootbin::serve_single

source ·
pub fn serve_single(
    i: impl Read,
    o: impl Write,
    base_url: &str
) -> Result<(), Error>
Expand description

Serve an HTTP (1.0 or 1.1) request.

The base_url is used for constructing redirects. It typically is the same as the host header.