Class SseEndpointAttribute
- Namespace
- Kuestenlogik.Bowire.Protocol.Sse
- Assembly
- Kuestenlogik.Bowire.Protocol.Sse.dll
Marks an ASP.NET endpoint as an SSE endpoint for Bowire discovery.
Apply to minimal API handlers or controller actions that produce text/event-stream.
[AttributeUsage(AttributeTargets.Method)]
public sealed class SseEndpointAttribute : Attribute
- Inheritance
-
SseEndpointAttribute
- Inherited Members
Constructors
SseEndpointAttribute()
public SseEndpointAttribute()
Properties
Description
Human-readable description of the SSE endpoint.
public string? Description { get; set; }
Property Value
EventType
Comma-separated list of event types emitted by this endpoint.
public string? EventType { get; set; }