SseItem<T> Struct
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
C#
public readonly struct SseItem<T>
type SseItem<'T> = struct
Public Structure SseItem(Of T)
- T
Specifies the type of data payload in the event.
- Inheritance
Sse |
Initializes the server-sent event. |
Data |
Gets the event's payload. |
Event |
Gets the event's id. |
Event |
Gets the event's type. |
Reconnection |
Gets the event's retry interval. |
Proizvod | Verzije |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.
Povratne informacije o proizvodu .NET
.NET je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: