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.
name
name of the server.path
Path prefix.
args
is a keyword list with the following arguments:
sites
a site-map (seeGemini
) relative topath
as_meta
is input stored in request only or saved in user certificate metadataprompt
input promptcert_prompt
user certificate prompt (only used ifas_meta
istrue
)key
key 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.