Mini oRPC Client-side Client
Installation
SKILL.md
Client-side Client in Mini oRPC
In Mini oRPC, the client-side client initiates remote procedure calls to the server. Both client and server must follow shared conventions to communicate effectively.
The complete Mini oRPC implementation is available at the Mini oRPC Repository.
Implementation
Handler (server/src/fetch/handler.ts):
import { ORPCError } from '@mini-orpc/client'
import { get, parseEmptyableJSON } from '@orpc/shared'
import { isProcedure } from '../procedure'
import { createProcedureClient } from '../procedure-client'
export class RPCHandler<T extends Context> {
private readonly router: Router<T>
Related skills
More from ali-master/skills
orpc ecosystem
Community resources, starter kits, tools, and libraries for oRPC.
2orpc event iterator (sse)
Streaming responses, real-time updates, and server-sent events using oRPC.
2orpc comparison
How oRPC differs from tRPC, ts-rest, and Hono.
2orpc openapilink
Use OpenAPILink in oRPC clients to communicate with OpenAPI-compliant APIs.
2orpc middleware
Middleware enables reusable and extensible procedures in oRPC.
2orpc metadata
Enhance your procedures with metadata.
2