![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | message_received |
def | handle_exception |
def | post |
![]() | |
def | initialize |
def | get |
def | post |
def | head |
def | options |
def | put |
def | delete |
def | trace |
def | error |
def | redirect |
def | handle_exception |
def | new_factory |
def | get_url |
Public Attributes | |
xmpp_message | |
![]() | |
request | |
response | |
A webapp baseclass for XMPP handlers. Implements a straightforward message delivery pattern. When a message is received, message_received is called with a Message object that encapsulates the relevant details. Users can reply using the standard XMPP API, or the convenient .reply() method on the Message object.
def google.appengine.ext.webapp.xmpp_handlers.BaseHandler.handle_exception | ( | self, | |
exception, | |||
debug_mode | |||
) |
Called if this handler throws an exception during execution. Args: exception: the exception that was thrown debug_mode: True if the web application is running in debug mode
def google.appengine.ext.webapp.xmpp_handlers.BaseHandler.message_received | ( | self, | |
message | |||
) |
Called when a message is sent to the XMPP bot. Args: message: Message: The message that was sent by the user.