Class ServerEvent
Represents a server-sent event that can be pushed to connected clients.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models.ServerEvents
Assembly: Umbraco.Core.dll
Syntax
public class ServerEvent
Constructors
View SourceServerEvent()
Declaration
public ServerEvent()
Properties
View SourceEventSource
Gets or sets the source of the event.
Declaration
public required string EventSource { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EventType
Gets or sets the type of the event.
Declaration
public required string EventType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Key
Gets or sets the unique key associated with the event.
Declaration
public Guid Key { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |