Features
-
Added
websocketAuthStrategyoption tocreateCableto specify how to pass a token for WebSocket connections (using a query param, a header, or a sub-protocol). -
Added
auth: {token: '...'}option tocreateCableto pass the initial authentication token -
Added
transportConfiguratorparameter tocreateCableto perform arbitrary transport modifications (like, fetching the initial token) before opening a connection.