Partajați prin


SseParser Class

Definition

Provides a parser for parsing server-sent events.

public ref class SseParser abstract sealed
public static class SseParser
type SseParser = class
Public Class SseParser
Inheritance
SseParser

Fields

EventTypeDefault

The default EventType ("message") for an event that did not explicitly specify a type.

Methods

Create(Stream)

Creates a parser for parsing a sseStream of server-sent events into a sequence of SseItem<T> values.

Create<T>(Stream, SseItemParser<T>)

Creates a parser for parsing a sseStream of server-sent events into a sequence of SseItem<T> values.

Applies to