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.
The autobahn.websocket.WebSocketProtocol is the core of Autobahn’s WebSocket implementation. It implements a Twisted protocol which speaks WebSockets.