Crate mz_http_util
source · [−]Expand description
HTTP utilities.
Macros
Generates a handle_static
function that serves static content for HTTP servers.
Expects three arguments: an include_dir::Dir
object where the static content is served,
and two strings representing the (crate-local) paths to the production and development
static files.
Functions
Renders a template into an HTTP response.