Skip to content

Interface IWebSocketModule

Namespace: Cephalon.AspNetCore.Transports.WebSockets
Assembly: Cephalon.AspNetCore.dll

Defines WebSocket endpoint contributions made by a Cephalon module on ASP.NET Core.

public interface IWebSocketModule : IModule

IModule

MapWebSocketEndpoints(IEndpointRouteBuilder)

Section titled “ MapWebSocketEndpoints(IEndpointRouteBuilder)”

Maps the module’s WebSocket endpoints onto the supplied endpoint route builder.

void MapWebSocketEndpoints(IEndpointRouteBuilder endpoints)

endpoints IEndpointRouteBuilder

The endpoint route builder that receives the module routes.