kaybee99

Results 3 comments of kaybee99

Spent a good hour stuck on this today. Got confused because my config file only has file name options in as it stands and the mix between relative and absolute...

Using it like this const { sendJsonMessage } = useWebSocket(socketUrl, { onMessage: (message) => handleWebsocketEvent(message), queryParams: { Authorizer: token, locationId: selectedLocationId }, shouldReconnect: (_closeEvent) => true, onClose: () => console.log("closing"),...

The token is still valid. I can use it to authenticate with other rest endpoints without a problem. The close event in this instance has status 1006 with empty reason....