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
Post a Comment