ข้ามไปยังเนื้อหา

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 : IModule

IModule

MapServerSentEvents(IEndpointRouteBuilder)

Section titled “ MapServerSentEvents(IEndpointRouteBuilder)”

Maps the module’s Server-Sent Events endpoints onto the supplied endpoint route builder.

void MapServerSentEvents(IEndpointRouteBuilder endpoints)

endpoints IEndpointRouteBuilder

The endpoint route builder that receives the module routes.