SseParser<T>.ReconnectionInterval Property

Definition

Gets the reconnection interval.

public:
 property TimeSpan ReconnectionInterval { TimeSpan get(); };
public TimeSpan ReconnectionInterval { get; }
member this.ReconnectionInterval : TimeSpan
Public ReadOnly Property ReconnectionInterval As TimeSpan

Property Value

Remarks

If no retry event was received, this defaults to InfiniteTimeSpan, and it will only ever be InfiniteTimeSpan in that situation. If a client wishes to retry, the server-sent events specification states that the interval may then be decided by the client implementation and should be a few seconds.

Applies to