<file-responder> ( root hook -- responder )
Furnace framework » HTTP server » Serving static content » Hooks for dynamic content

Prev:enable-fhtml ( responder -- responder )


Vocabulary
http.server.static

Inputs
roota pathname string
hooka quotation with stack effect ( path mime-type -- response )


Outputs
respondera file-responder


Word description
Creates a file responder which serves content from path by using the hook to generate a response.

Definition