Package archipelagentvirtualmachinevnc :: Module websocket
[hide private]
[frames] | no frames]

Module websocket

source code

Python WebSocket library with support for "wss://" encryption. Copyright 2011 Joel Martin Licensed under LGPL version 3 (see docs/LICENSE.LGPL-3)

Supports following protocol versions:

You can make a cert/key with openssl using: openssl req -new -x509 -days 365 -nodes -out self.pem -keyout self.pem as taken from http://docs.python.org/dev/library/ssl.html#certificates

Classes [hide private]
  WebSocketServer
WebSockets server class.
  WSRequestHandler
Functions [hide private]
 
unpack_from(fmt, buf, offset=0) source code
Variables [hide private]
  b2s = lambda buf:
  s2b = lambda s:
  s2a = lambda s: