Skip to content

1.1.0

Latest

Choose a tag to compare

@palkan palkan released this 04 Mar 19:24
· 23 commits to master since this release
bec3a8d

Features

  • Added websocketAuthStrategy option to createCable to specify how to pass a token for WebSocket connections (using a query param, a header, or a sub-protocol).

  • Added auth: {token: '...'} option to createCable to pass the initial authentication token

  • Added transportConfigurator parameter to createCable to perform arbitrary transport modifications (like, fetching the initial token) before opening a connection.