Class
HttpStreamPingPolicy
Provides an automatic ping sender for HTTP Event Source connections.
public sealed class HttpStreamPingPolicy : IDisposableInheritance #
Implements #
Inherited Members #
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties #
| Name | Description |
|---|---|
| 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 #
| Name | Description |
|---|---|
| Dispose() | |
| ~HttpStreamPingPolicy() | |
| Start() | Starts sending periodic pings to the client. |
| Start(string, TimeSpan) | Configures and starts sending periodic pings to the client. |