Docs.rs
blit-webserver-0.12.2
blit-webserver 0.12.2
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
pcarrier
Dependencies
axum ^0.8
normal
blit-fonts ^0.12.2
normal
percent-encoding ^2
normal
Versions
83.33%
of the crate is documented
Go to latest version
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate blit_webserver
blit_
webserver
0.12.2
All Items
Crate Items
Functions
Crate
blit_
webserver
Copy item path
Source
Functions
§
font_
response
Serve a font’s @font-face CSS by family name, or 404.
fonts_
list_
response
Serve the monospace font family list as JSON.
html_
etag
Compute an ETag string from HTML content.
html_
response
Serve HTML with ETag support. Returns 304 if the client’s
If-None-Match
matches
etag
.
try_
font_
route
Try to match a font route from a raw request path (any prefix). Handles
/fonts
,
/vt/fonts
,
/font/Name
,
/vt/font/Name%20With%20Spaces
. Returns
Some(response)
if the path matched a font route,
None
otherwise.