Module h2o_wave.server
Functions
listen
Launch an application server.
Args
route
- The route to listen to. e.g.
'/foo'
or'/foo/bar/baz'
. handle
- The handler function.
mode
- The server mode. One of
'unicast'
(default),'multicast'
or'broadcast'
.
Classes
Query
Represents the query context. The query context is passed to the listen() handler function whenever a query arrives from the browser (page load, user interaction events, etc.). The query context contains useful information about the query, including argumentsargs
(equivalent to URL query strings) and app-level, user-level and client-level state.
Instance variables
A Expando instance to hold application-specific state.
A Expando instance containing the active request.
An Expando instance to hold client-specific state.
The server mode. One of 'unicast'
(default),'multicast'
or 'broadcast'
.
A reference to the current page.
The route served by the server.
A reference to the current site.
A Expando instance to hold user-specific state.
The username of the user who initiated the active request.
Methods
Q
Represents the query context. The query context is passed to the listen() handler function whenever a query arrives from the browser (page load, user interaction events, etc.). The query context contains useful information about the query, including argumentsargs
(equivalent to URL query strings) and app-level, user-level and client-level state.
Instance variables
A Expando instance to hold application-specific state.
A Expando instance containing the active request.
An Expando instance to hold client-specific state.
The server mode. One of 'unicast'
(default),'multicast'
or 'broadcast'
.
A reference to the current page.
The route served by the server.
A reference to the current site.
A Expando instance to hold user-specific state.
The username of the user who initiated the active request.