- updateHostAndOrigin
Client side only - Generate host and origin header and put them to the upgrade
request headers.
- checkForHeader
- createClientHandshake
Client-side handshake.
- createServerHandshake
Server-side handshake.
- getRequest
Client side only - get the UpgradeRequest.
- prepareRequest
Client side only - compose the UpgradeRequest and store it for further use.
- respond
- setExtensions
Client side only - set the list of supported extensions.
- setSubProtocols
Client side only - set the list of supported subprotocols.
- validate
- validateServerResponse
Client side only - validate server response.