SseItem<T> Struct
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.
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
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.