Expand description
Serving files from a directory
Structs§
- Config
- Basic configuration for server. Derived from
cli::Args
Enums§
- Request
State - State of a request while being processed
Functions§
- handle_
connection - Handle connection/request. Spawned as part of a thread. Returns 4 possible responses:
- serve
- Main serve function for the binary from
cli::Args