idleTimeout property
num?
get
idleTimeout
If the client does not respond to this frame with a
pong
within the timeout specified, the connection is deemed
unhealthy and is closed. The close
and error
event will be emitted.
The default is 120 seconds. Set to 0
to disable timeouts.
Implementation
_i2.num? get idleTimeout => _i3.getProperty(
this,
'idleTimeout',
);
set
idleTimeout
(num? value)
Implementation
set idleTimeout(_i2.num? value) {
_i3.setProperty(
this,
'idleTimeout',
value ?? _i6.undefined,
);
}