Share via


SseParser<T> Class

Definition

Provides a parser for server-sent events information.

generic <typename T>
public ref class SseParser sealed
public sealed class SseParser<T>
type SseParser<'T> = class
Public NotInheritable Class SseParser(Of T)

Type Parameters

T

Specifies the type of data parsed from an event.

Inheritance
SseParser<T>

Properties

LastEventId

Gets the last event ID.

ReconnectionInterval

Gets the reconnection interval.

Methods

Enumerate()

Gets an enumerable of the server-sent events from this parser.

EnumerateAsync(CancellationToken)

Gets an asynchronous enumerable of the server-sent events from this parser.

Applies to