/
opt
/
canhelp
/
node_modules
/
hono
/
dist
/
types
/
adapter
/
netlify
/
/opt/canhelp/node_modules/hono/dist/types/adapter/netlify
mkdir
upload
Name
Size
Mode
Actions
conninfo.d.ts
534
0644
edit
dl
rm
handler.d.ts
158
0644
edit
dl
rm
index.d.ts
71
0644
edit
dl
rm
mod.d.ts
78
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/hono/dist/types/adapter/netlify/conninfo.d.ts
(534B)
import type { GetConnInfo } from '../../helper/conninfo'; /** * Get connection information from Netlify * @param c - Context * @returns Connection information including remote address * @example * ```ts * import { Hono } from 'hono' * import { handle, getConnInfo } from 'hono/netlify' * * const app = new Hono() * * app.get('/', (c) => { * const info = getConnInfo(c) * return c.text(`Your IP: ${info.remote.address}`) * }) * * export default handle(app) * ``` */ export declare const getConnInfo: GetConnInfo;
Save
cmd:
run