Share via


SseParser<T>.Enumerate Method

Definition

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

public:
 System::Collections::Generic::IEnumerable<System::Net::ServerSentEvents::SseItem<T>> ^ Enumerate();
public System.Collections.Generic.IEnumerable<System.Net.ServerSentEvents.SseItem<T>> Enumerate ();
member this.Enumerate : unit -> seq<System.Net.ServerSentEvents.SseItem<'T>>
Public Iterator Function Enumerate () As IEnumerable(Of SseItem(Of T))

Returns

Exceptions

The parser has already been enumerated. Such an exception may propagate out of a call to MoveNext().

Applies to