Files
deb-python-autobahn/doc/python/websocketprotocol.rst
2011-11-10 16:24:09 +01:00

2.5 KiB

WebSocket Protocol

Introduction

The class autobahn.websocket.WebSocketProtocol implements the core WebSockets protocol.

Though you will use methods and override callbacks from this class, you must implement your clients/servers by deriving from the classes autobahn.websocket.WebSocketClientProtocol and autobahn.websocket.WebSocketServerProtocol.

Connect & Listen

autobahn.websocket.connectWS

autobahn.websocket.listenWS

WebSocket Protocol

The autobahn.websocket.WebSocketProtocol is the core of Autobahn's WebSocket implementation. It implements a Twisted protocol which speaks WebSockets.

autobahn.websocket.WebSocketProtocol

Auxiliary Classes

autobahn.websocket.ConnectionRequest

autobahn.websocket.ConnectionResponse

autobahn.websocket.HttpException

Auxiliary Functions

autobahn.websocket.createWsUrl

autobahn.websocket.parseWsUrl