webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Functions
webkitpy.thirdparty.mod_pywebsocket.handshake Namespace Reference

Namespaces

 _base
 
 hybi
 
 hybi00
 

Functions

def do_handshake (request, dispatcher, allowDraft75=False, strict=False)
 

Function Documentation

◆ do_handshake()

def webkitpy.thirdparty.mod_pywebsocket.handshake.do_handshake (   request,
  dispatcher,
  allowDraft75 = False,
  strict = False 
)
Performs WebSocket handshake.

Args:
    request: mod_python request.
    dispatcher: Dispatcher (dispatch.Dispatcher).
    allowDraft75: obsolete argument. ignored.
    strict: obsolete argument. ignored.

Handshaker will add attributes such as ws_resource in performing
handshake.