Interface IGrpcModule
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.AspNetCore.Grpc.Modules
Assembly: Cephalon.AspNetCore.Grpc.dll
Defines gRPC endpoint contributions made by a Cephalon module on ASP.NET Core.
public interface IGrpcModule : IModuleImplements
Section titled “Implements”IModule
Methods
Section titled “Methods”MapGrpcEndpoints(IEndpointRouteBuilder)
Section titled “ MapGrpcEndpoints(IEndpointRouteBuilder)”Maps the module’s gRPC endpoints onto the supplied endpoint route builder.
void MapGrpcEndpoints(IEndpointRouteBuilder endpoints)Parameters
Section titled “Parameters”endpoints IEndpointRouteBuilder
The endpoint route builder that receives the module routes.