Class HttpStreamPingPolicy
Provides an automatic ping sender for HTTP Event Source connections.
public sealed class HttpStreamPingPolicy
- Inheritance
-
HttpStreamPingPolicy
- Inherited Members
Properties
- DataMessage
Gets or sets the payload message that is sent to the server as a ping message.
- Interval
Gets or sets the sending interval for each ping message.
Methods
- Start()
Starts sending periodic pings to the client.
- Start(string, TimeSpan)
Configures and starts sending periodic pings to the client.