Table of Contents

Class SseEventStreamOptions

Namespace
ModelContextProtocol.Server
Assembly
ModelContextProtocol.Core.dll

Configuration options for creating an SSE event stream.

public sealed class SseEventStreamOptions
Inheritance
SseEventStreamOptions
Inherited Members

Properties

Mode

Gets or sets the mode of the event stream. Defaults to Streaming.

public SseEventStreamMode Mode { get; set; }

Property Value

SseEventStreamMode

SessionId

Gets or sets the session ID associated with the event stream.

public required string SessionId { get; set; }

Property Value

string

StreamId

Gets or sets the stream ID that uniquely identifies this stream within a session.

public required string StreamId { get; set; }

Property Value

string