-
Notifications
You must be signed in to change notification settings - Fork 25.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ServerTimeout #6885
Comments
Hello @mmfarahat, Great question! Here's a sample you should be able to use now. We will be publishing a document on Configuration soon that will have this in it. const connection = new signalR.HubConnection( |
For the javascript client you can set the timeout after the connection has been created. const connection = new signalR.HubConnectionBuilder()
.withUrl("/chatHub")
.build();
connection.serverTimeoutInMilliseconds = 1000; // 1 second |
@rachelappel , @BrennanConroy Thanks |
I believe the |
That's correct, if |
how to set "HubConnection.ServerTimeout" in javascript client , like .net client
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: