Skip to main content

Module resolve

Module resolve 

Source
Expand description

What a request for a path in the served folder is answered with: a page, a redirect, a file’s bytes, a design’s or a slide’s PNG, or why there is none. Decided here from the documents alone, so every route is tested without a socket; the HTTP server only turns an Answer into a response and draws the PNGs it names.

Structs§

Resolver
What decides an answer: the entry document, the index of its served folder, the problems each page lists and whether comments are on. Every address it answers with is under the served folder’s mount, which the documents carry.

Enums§

Answer
What a path answers with.