method GrpcService.prototype.handleRequest
GrpcService.prototype.handleRequest(request: Request): Promise<Response>

Handles an RPC request directly.

Returns a 404 response when the request does not match any registered service path. Callers routing traffic should consult GrpcService.claims first.

Parameters

request: Request

Return Type

Promise<Response>

Usage

import { GrpcService } from "grpc-plugin/src/index.ts";