Skip to content

Interface IRestModule

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

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

public interface IRestModule : IModule

IModule

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

void MapRestEndpoints(IEndpointRouteBuilder endpoints)

endpoints IEndpointRouteBuilder

The endpoint route builder that receives the module routes.