Sisk

Class

HttpStreamPingPolicy

Namespace
Sisk.Core.Http.Streams
Assembly
Sisk.Core.dll

Provides an automatic ping sender for HTTP Event Source connections.

C#
public sealed class HttpStreamPingPolicy : IDisposable

Inheritance #

object ← HttpStreamPingPolicy

Implements #

IDisposable

Inherited Members #

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties #

NameDescription
DataMessageGets or sets the payload message that is sent to the server as a ping message.
IntervalGets or sets the sending interval for each ping message.

Methods #

NameDescription
Dispose()
~HttpStreamPingPolicy()
Start()Starts sending periodic pings to the client.
Start(string, TimeSpan)Configures and starts sending periodic pings to the client.

Type to search the documentation and the API reference.