Gemini.Site.Input (Gemini v0.2.0)
This module asks the user for input.
Link to this section Summary
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor.
Link to this function
make_response(status, meta, body, attrs)
Link to this function
start_link(list)
Start site.
namename of the server.pathPath prefix.
args is a keyword list with the following arguments:
sitesa site-map (seeGemini) relative topathas_metais input stored in request only or saved in user certificate metadatapromptinput promptcert_promptuser certificate prompt (only used ifas_metaistrue)keykey to store input in metadata
If as_meta is true, the input is stored in the metadata map under key key. The metadata map is tied
to your user certificate for the duration of the session. Because sessions don't exist in this protocol,
a "session" is kept alive with every request and the metadata is cleared 5 minutes after the last request.