Deli z drugimi prek


SseItem<T> Struct

Definition

Represents a server-sent event.

generic <typename T>
public value class SseItem
public readonly struct SseItem<T>
type SseItem<'T> = struct
Public Structure SseItem(Of T)

Type Parameters

T

Specifies the type of data payload in the event.

Inheritance
SseItem<T>

Constructors

SseItem<T>(T, String)

Initializes the server-sent event.

Properties

Data

Gets the event's payload.

EventType

Gets the event's type.

Applies to