Module server

Module server 

Source
Expand description

Serving files from a directory

Structs§

Config
Basic configuration for server. Derived from cli::Args

Enums§

RequestState
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