Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
SseItem<T> Struct
Definition
- Namespace:
- System.Net.ServerSentEvents
- Assembly:
- System.Net.ServerSentEvents.dll
- Package:
- System.Net.ServerSentEvents v11.0.0-preview.5.26302.115
- Source:
- SseItem.cs
- Source:
- SseItem.cs
- Source:
- SseItem.cs
- Source:
- SseItem.cs
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
| Name | Description |
|---|---|
| SseItem<T>(T, String) |
Initializes the server-sent event. |
Properties
| Name | Description |
|---|---|
| Data |
Gets the event's payload. |
| EventId |
Gets the event's id. |
| EventType |
Gets the event's type. |
| ReconnectionInterval |
Gets the event's retry interval. |
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.
Feedback
Was this page helpful?
