/Knowledge/sources/honojs__hono/llms-full/rpc--8b07b95d1ba4.md

RPC - hono-docs

RPC Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt rpc Summary The RPC feature allows sharing of the...

RPC

Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#rpc

Summary

The RPC feature allows sharing of the API specifications between the server and the client. First, export the typeof your Hono app (commonly called AppType)—or just the routes you want available to the client—from your server code. B...

Content

The RPC feature allows sharing of the API specifications between the server and the client.

First, export the typeof your Hono app (commonly called AppType)—or just the routes you want available to the client—from your server code.

By accepting AppType as a generic parameter, the Hono Client can infer both the input type(s) specified by the Validator, and the output type(s) emitted by handlers returning c.json().

[!NOTE] For the RPC types to work properly in a monorepo, in both the Client's and Server's tsconfig.json files, set "strict": true in compilerOptions. Read more.

Metadata

{
  "chunk_index": 0,
  "citation": "https://hono.dev/llms-full.txt#rpc",
  "coverage_role": "overview",
  "qualified_title": "Hono / llms-full / RPC",
  "retrieved_at": "2026-07-02T05:51:01Z",
  "section_index": 46,
  "source_id": "/honojs/hono",
  "source_type": "llms_full",
  "target_label": "llms-full",
  "title": "RPC",
  "upstream_url": "https://hono.dev/llms-full.txt",
  "version": "2026"
}
Kinic Wiki
Loading knowledge node
Details

Identity

database
db_23dhmsxlhukv
database_id
db_23dhmsxlhukv
path
/Knowledge/sources/honojs__hono/llms-full/rpc--8b07b95d1ba4.md
kind
directory
role
markdown_note
children
0

Metadata

created_at
virtual
updated_at
virtual
etag
virtual
metadata_json
{}

Lint Hints

No lightweight warnings.

Outgoing Links

No outgoing links indexed.

Incoming Links

Select a file node to inspect backlinks.

Raw Source

No raw source path inferred.