Interface IServerSentEventsModule
Namespace: Cephalon.AspNetCore.Transports.ServerSentEvents
Assembly: Cephalon.AspNetCore.dll
Defines Server-Sent Events endpoint contributions made by a Cephalon module on ASP.NET Core.
public interface IServerSentEventsModule : IModuleImplements
Section titled “Implements”IModule
Methods
Section titled “Methods”MapServerSentEvents(IEndpointRouteBuilder)
Section titled “ MapServerSentEvents(IEndpointRouteBuilder)”Maps the module’s Server-Sent Events endpoints onto the supplied endpoint route builder.
void MapServerSentEvents(IEndpointRouteBuilder endpoints)Parameters
Section titled “Parameters”endpoints IEndpointRouteBuilder
The endpoint route builder that receives the module routes.