Table of Contents

Interface IServerSentEvent

Namespace
Olve.TypeSpec
Assembly
Olve.TypeSpec.dll

An event of a generated SSE event union (an @events union in the contract). The event name on the wire is its EventType, which is also the type of its data.

public interface IServerSentEvent

Properties

EventType

The SSE event name, e.g. widget.changed.

string EventType { get; }

Property Value

string