Optional
fallbackOptional
maxThe maximum message size to be sent or received over the socket in bytes
If true the request will be rejected if the client does not supply an
Authorization
header, pass false
here to attempt to verify the client
but allow the request to proceed if it fails
Optional
tokenHow long in ms an auth token for a server will be valid for, defaults to one hour
If the request was not a WebSocket request, invoke this method