/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-access-the-raw-node-09008ee149ba-access-the-raw-node-js-apis-s0457-c0000.md

Access the raw Node.js APIs - hono-docs

Access the raw Node.js APIs Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt access the raw node j...

Access the raw Node.js APIs

Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#access-the-raw-node-js-apis

Summary

You can access the Node.js APIs from c.env.incoming and c.env.outgoing. ``ts import { Hono } from 'hono' import { serve, type HttpBindings } from '@hono/node-server' // or Http2Bindings` if you use HTTP2 type Bindings = HttpBinding...

Content

You can access the Node.js APIs from c.env.incoming and c.env.outgoing.

import { Hono } from 'hono'
import { serve, type HttpBindings } from '@hono/node-server'
// or `Http2Bindings` if you use HTTP2

type Bindings = HttpBindings & {
  /* ... */
}

const app = new Hono<{ Bindings: Bindings }>()

app.get('/', (c) => {
  return c.json({
    remoteAddress: c.env.incoming.socket.remoteAddress,
  })
})

serve(app)
Kinic Wiki
Loading knowledge node
Details

Identity

database
db_23dhmsxlhukv
database_id
db_23dhmsxlhukv
path
/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-access-the-raw-node-09008ee149ba-access-the-raw-node-js-apis-s0457-c0000.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.