update docs, bump version
This commit is contained in:
@@ -35,6 +35,8 @@ class HTTPChannelHixie76Aware(HTTPChannel):
|
||||
set content-length header. This hacked HTTPChannel injects the missing
|
||||
HTTP header upon detecting Hixie-76. We need this since otherwise
|
||||
Twisted Web will silently ignore the body.
|
||||
|
||||
To use this, set twisted.web.server.Site.protocol = HTTPChannelHixie76Aware
|
||||
"""
|
||||
|
||||
def headerReceived(self, line):
|
||||
|
||||
@@ -1478,6 +1478,7 @@ class WampCraClientProtocol(WampClientProtocol, WampCraProtocol):
|
||||
:type authExtra: dict
|
||||
:param authSecret: The secret of the authentication credentials, something like the user password or application secret key.
|
||||
:type authsecret: str
|
||||
:returns Deferred -- Deferred that fires upon authentication success (with permissions) or failure.
|
||||
"""
|
||||
|
||||
def _onAuthChallenge(challenge):
|
||||
@@ -1617,7 +1618,7 @@ class WampCraServerProtocol(WampServerProtocol, WampCraProtocol):
|
||||
@exportRpc("authreq")
|
||||
def authRequest(self, appkey = None, extra = None):
|
||||
"""
|
||||
RPC for clients to initiate the authentication handshake.
|
||||
RPC endpoint for clients to initiate the authentication handshake.
|
||||
|
||||
:param appkey: Authentication key, such as user name or application name.
|
||||
:type appkey: str
|
||||
@@ -1700,7 +1701,7 @@ class WampCraServerProtocol(WampServerProtocol, WampCraProtocol):
|
||||
@exportRpc("auth")
|
||||
def auth(self, signature = None):
|
||||
"""
|
||||
RPC for clients to actually authenticate after requesting authentication and computing
|
||||
RPC endpoint for clients to actually authenticate after requesting authentication and computing
|
||||
a signature from the authentication challenge.
|
||||
|
||||
:param signature: Authenticatin signature computed by the client.
|
||||
|
||||
@@ -40,7 +40,7 @@ Source Code:
|
||||
|
||||
setup (
|
||||
name = 'autobahn',
|
||||
version = '0.5.4',
|
||||
version = '0.5.5',
|
||||
description = 'AutobahnPython - WebSocket/WAMP implementation for Python/Twisted.',
|
||||
long_description = LONGSDESC,
|
||||
license = 'Apache License 2.0',
|
||||
|
||||
@@ -50,7 +50,7 @@ copyright = u'2011,2012 Tavendo GmbH'
|
||||
# The short X.Y version.
|
||||
version = '0.5'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '0.5.2'
|
||||
release = '0.5.5'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
||||
@@ -25,4 +25,5 @@ Protocol
|
||||
:members: URI_WAMP_BASE,
|
||||
URI_WAMP_ERROR,
|
||||
URI_WAMP_RPC,
|
||||
URI_WAMP_EVENT
|
||||
URI_WAMP_EVENT,
|
||||
authSignature
|
||||
|
||||
@@ -29,5 +29,4 @@ Protocol
|
||||
|
||||
|
||||
.. autoclass:: autobahn.wamp.WampCraClientProtocol
|
||||
:members: authenticate,
|
||||
authSignature
|
||||
:members: authenticate
|
||||
|
||||
@@ -27,6 +27,8 @@ Protocol
|
||||
registerForRpc,
|
||||
registerMethodForRpc,
|
||||
registerProcedureForRpc,
|
||||
registerHandlerMethodForRpc,
|
||||
registerHandlerProcedureForRpc,
|
||||
registerForPubSub,
|
||||
registerHandlerForPubSub,
|
||||
registerHandlerForSub,
|
||||
|
||||
@@ -32,3 +32,15 @@ Opening Handshake
|
||||
|
||||
.. autoclass:: autobahn.websocket.HttpException
|
||||
:members: __init__
|
||||
|
||||
|
||||
Web Resource
|
||||
------------
|
||||
|
||||
.. autoclass:: autobahn.resource.WebSocketResource
|
||||
:members: __init__,
|
||||
getChildWithDefault,
|
||||
putChild,
|
||||
render
|
||||
|
||||
.. autoclass:: autobahn.resource.HTTPChannelHixie76Aware
|
||||
|
||||
Reference in New Issue
Block a user