asp.net - SignalR keep alive timeout -


from signalr wiki there section on reconnecting event

reconnecting client event.

raised when (a) transport api detects connection lost, or (b) keepalive timeout period has passed since last message or keepalive ping received. signalr client code begins trying reconnect. can handle event if want application take action when transport connection lost. the default keepalive timeout period 20 seconds.


the section on timeouts tells 3 configuration values i.e. disconnecttimeout,keepalive & connectiontimeout.

my question is, if want decrease keepalive value say, 5 seconds or increase say, 30 seconds, keep alive timeout, after client starts reconnect change automatically or still default 20 seconds mentioned above?

if no, there way set keep alive timeout via code?


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -