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
Installs
First Seen