[−][src]Crate actix_files
Static file serving for Actix Web.
Provides a non-blocking service for serving static files from disk.
Example
use actix_web::App; use actix_files::Files; let app = App::new() .service(Files::new("/static", ".").prefer_utf8(true));
Structs
| Directory | A directory; responds with the generated directory listing. |
| Files | Static files handling service. |
| FilesService | Assembled file serving service. |
| HttpRange | HTTP Range header representation. |
| NamedFile | A file with an associated name. |
Functions
| file_extension_to_mime | Return the MIME type associated with a filename extension (case-insensitive).
If |