/Knowledge/sources/honojs__hono/llms-full/proxy-helper-proxy-examples--part-03--ecce3d4056d9.md
Proxy Helper: proxy() > Examples (part 03) - hono-docs
Proxy Helper: proxy() Examples (part 03) Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt examples Summ...
Proxy Helper: proxy() > Examples (part 03)
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#examples
Summary
You can override the default global fetch function with the customFetch option: ts app.get('/proxy', (c) => { return proxy('https://example.com/', { customFetch, }) })
Content
You can override the default global fetch function with the customFetch option:
app.get('/proxy', (c) => {
return proxy('https://example.com/', {
customFetch,
})
})
Metadata
{
"chunk_index": 2,
"citation": "https://hono.dev/llms-full.txt#examples",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Proxy Helper > `proxy()` > Examples (3)",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 681,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Proxy Helper: proxy() > Examples (part 03)",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}