Module n.livepage

Part of nevow View Source

Provides a bidirectional channel for sending out-of-band events between client and server without refreshing the whole page.
Line # Kind Name Docs
34 Function jslog Undocumented
41 Class JavascriptContext Undocumented
50 Class TimeoutException Undocumented
54 Class ClientSideException Undocumented
58 Class SingleQuote Undocumented
66 Function flattenSingleQuote Undocumented
212 Function flattenJS Undocumented
235 Function assign Assign what to where. Equivalent to
245 Function var Define local variable 'where' and assign 'what' to it.
252 Function anonymous Turn block (any stan) into an anonymous JavaScript function
263 Interface IClientHandle No interface docstring; 3/3 methods documented
280 Interface IHandlerFactory No interface docstring; 1/1 methods documented
301 Function flattenTransient Undocumented
307 Class ClientHandle An object which represents the client-side webbrowser.
473 Class DefaultClientHandleFactory No class docstring; 1/4 methods documented
499 Class OutputHandlerResource Undocumented
526 Class InputHandlerResource Undocumented
580 Class DefaultClientHandlesResource Undocumented
599 Class attempt Attempt to do 'stuff' in the browser. callback on the server
621 Function flattenAttemptDeferred Undocumented
644 Interface IOutputEvent Undocumented
647 Interface IInputEvent Undocumented
651 Class ExceptionHandler No class docstring; 1/2 methods documented
668 Function neverEverCache Set headers to indicate that the response to this request should never,
675 Function activeChannel Mark this connection as a 'live' channel by setting the Connection: close
682 Class LivePage A Page which is Live provides asynchronous, bidirectional RPC between
823 Class handler No class docstring; 1/2 methods documented
865 Function flattenHandler Undocumented
884 Function flt Flatten some stan to a string suitable for embedding in a javascript
def jslog(*x): (source)
Undocumented
def flattenSingleQuote(singleQuote, ctx): (source)
Undocumented
def flattenJS(theJS, ctx): (source)
Undocumented
def assign(where, what): (source)
Assign what to where. Equivalent to where = what;
def var(where, what): (source)
Define local variable 'where' and assign 'what' to it. Equivalent to var where = what;
def anonymous(block): (source)
Turn block (any stan) into an anonymous JavaScript function
which takes no arguments. Equivalent to

function () {
    block
}
def flattenTransient(transient, ctx): (source)
Undocumented
def flattenAttemptDeferred(d, ctx): (source)
Undocumented
def neverEverCache(request): (source)
Set headers to indicate that the response to this request should never, ever be cached.
def activeChannel(request): (source)
Mark this connection as a 'live' channel by setting the Connection: close header and flushing all headers immediately.
def flattenHandler(handler, ctx): (source)
Undocumented
def flt(stan, quote=True, client=None, handlerFactory=None): (source)

Flatten some stan to a string suitable for embedding in a javascript string.

If quote is True, apostrophe, quote, and newline will be quoted
API Documentation for Nevow, generated by pydoctor.