PublicRpcEndpoint
interfaz
Descriptor público de un procedimiento RPC, sin el archivo del handler.
ts
import type { PublicRpcEndpoint } from "@meekojs/meeko/framework";Source code src/shared/clients.ts:39
Declaración #
ts
interface PublicRpcEndpoint {
readonly id: string
readonly pathname: string
}Example #
ts
import type { PublicRpcEndpoint } from "@meekojs/meeko/framework";
// server/rpc/users/get.ts
const procedure: PublicRpcEndpoint = { id: "users.get", pathname: "/_meeko/rpc/users/get" };