Protected
Optional
electronReturn false
to prevent the protocol upgrade from going through, blocking the WebSocket connection.
The HTTP connection upgrade request received by the server.
Protected
getReturns the token to compare to when authorizing requests.
Protected
init
On Electron, we want to make sure that only Electron's browser-windows access the backend services.