Skip to main content

Module answer

Module answer 

Source
Expand description

What a request is answered with: a page, a redirect, a file’s bytes, a design’s or a slide’s PNG, a widget’s module, 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 — its headers, the file’s bytes read, the PNGs it names drawn.

Structs§

Answers
What decides an answer: the served folder with its entry document, its widget modules, its design store, 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 request is answered with.