Skip to main content

Module session_endpoint

Module session_endpoint 

Source
Expand description

The one mapping between a session id and the DNS name of its endpoint.

Structs§

InvalidSessionsDomain
Why a string is not a valid SessionsDomain.
ParallelGrant
Every session of a parallel run, as SessionGrants.
SessionEndpointUrl
Scheme, host and optional port; no path or query.
SessionGrant
Everything a client needs to reach one endpoint session.
SessionHostName
The DNS name of one session’s endpoint: <32 lowercase hex of the session id>.<domain>. The backtest_ prefix is left out because _ is not valid in a host name.
SessionToken
Admits a client to one session’s endpoint. 256 random bits, base64url. No lifetime, not signed.
SessionsDomain
The domain of the sessions zone, such as sessions.simulator.termina.technology. Lowercase, with no leading or trailing dot.

Enums§

InvalidSessionEndpointUrl
Why a string is not a valid SessionEndpointUrl.
InvalidSessionHostName
Why a string is not a valid SessionHostName.

Constants§

SESSION_TOKEN_HEADER
Header that carries the SessionToken.
SESSION_TOKEN_QUERY_PARAM
Query parameter that carries the SessionToken.

Functions§

parse_origin
<scheme>://<host>[:<port>][/] only; the scheme is not checked.
token_in_query_pair
The token in one key=value pair of a query, when the key is SESSION_TOKEN_QUERY_PARAM.