Function fire_http::fs::serve_memory_file
source · pub fn serve_memory_file(
path: &'static str,
bytes: &'static [u8],
req: &Request,
caching: Option<Caching>
) -> Result<Response>
Available on crate feature
fs
only.