Skip to main content

Crate blit_webserver

Crate blit_webserver 

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.