/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-adapter-a260471aa253-adapter-s0523-c0000.md
Adapter - hono-docs
Adapter Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt adapter Summary There are Adapters for pl...
Adapter
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#adapter
Summary
There are Adapters for platform-dependent functions, e.g., handling static files or WebSocket. For example, to handle WebSocket in Cloudflare Workers, import hono/cloudflare-workers. ```ts import { upgradeWebSocket } from 'hono/cloudfl...
Content
There are Adapters for platform-dependent functions, e.g., handling static files or WebSocket.
For example, to handle WebSocket in Cloudflare Workers, import hono/cloudflare-workers.
import { upgradeWebSocket } from 'hono/cloudflare-workers'
app.get(
'/ws',
upgradeWebSocket((c) => {
// ...
})
)