ClientWebSocketOptions.KeepAliveTimeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The timeout to use when waiting for the peer's PONG in response to us sending a PING; or Zero or InfiniteTimeSpan to disable waiting for peer's response, and use an unsolicited PONG as a Keep-Alive heartbeat instead.
The default is InfiniteTimeSpan.
public:
property TimeSpan KeepAliveTimeout { TimeSpan get(); void set(TimeSpan value); };
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public TimeSpan KeepAliveTimeout { get; set; }
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.KeepAliveTimeout : TimeSpan with get, set
Public Property KeepAliveTimeout As TimeSpan
Property Value
- Attributes
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.