Expand description

Webserver is a simple way of serving static files / api endpoints.

Structs

The options that the user has before starting the server

Options related to serving static files

Enums

The get_header function can either take multiple header requests as input, or just one

Functions

Quick function to respond with a message saying that some headers might be missing

Print a response with colors

Parse headers by using a request-string as input, and specify what headers you want returned By using HeaderReturn you can specify if you either want all headers back or just some

Return a http response containing the status, and optionally some content

Start the server