Closed
Description
openedon Sep 3, 2021
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
#strawberry-shake how can I reconnect websocket if somehow Server is Restarted and connection is lost
There should be onConnect and OnDisconnet events callbacks.
Steps to reproduce
My Startup as per documentation
services.AddBkClient(profile: BkClient.BkClientProfileKind.Default).ConfigureHttpClient((sp , client) =>
{
var login = sp.GetService<Login>( );
_token = login.GetAccessToken( );
client.BaseAddress = new Uri(_appSettings.BkQueryUrl);
client.AddBearerToken(_token);
}).ConfigureWebSocketClient((sp , client) =>
{
client.Uri = new Uri(_appSettings.BkWsUrl);
});
Relevant log output
No response
Additional Context?
No response
Product
Strawberry Shake
Version
11.3.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment