twelventi
twelventi
TtRPC
Created by twelventi on 1/26/2024 in #❓-help
need help refreshing websocket
Then re-authenticating keeps that same session ID alive
12 replies
TtRPC
Created by twelventi on 1/26/2024 in #❓-help
need help refreshing websocket
We pass a session token to the websocket that is basically a lookup in a diff place to see if that session is still active
12 replies
TtRPC
Created by twelventi on 1/26/2024 in #❓-help
need help refreshing websocket
@itsnotyalc I believe when you create a wslink, and a ws client, you can pass a function to the url parameter which can dynamically return a URL, but we ended up not going with a pattern that required a new url for the websocket everytime so I’m not sure if that works I.e.
createWsClient({
url: () => dynamicFunctionToGetUrl()
})
createWsClient({
url: () => dynamicFunctionToGetUrl()
})
12 replies
TtRPC
Created by twelventi on 1/26/2024 in #❓-help
need help refreshing websocket
Thanks in advance for any help!!!
12 replies