/Knowledge/sources/honojs__hono/llms-full/context-res--edb0ad028f00.md
Context: res - hono-docs
Context: res Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt res Summary You can access the [Response]...
Context: res
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#res
Summary
You can access the Response object that will be returned. ```ts twoslash import { Hono } from 'hono' const app = new Hono() // ---cut--- // Response object app.use('/', async (c, next) => { await next() c.res.headers.append('X-Debug',...
Content
You can access the Response object that will be returned.
import { Hono } from 'hono'
const app = new Hono()
// ---cut---
// Response object
app.use('/', async (c, next) => {
await next()
c.res.headers.append('X-Debug', 'Debug message')
})
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#res",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Context > res",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 560,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Context: res",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}