SseParser<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.