method HonoRequest.prototype.headerimport { HonoRequest } from "https://dotland.deno.dev/x/hono@v4.2.2/request.ts"; header(name: string): string | undefined.header() can get the request header value. header(): Record<string, string>.header() can get the request header value. ExamplesExample 1 app.get('/', (c) => { const userAgent = c.req.header('User-Agent') }) Parametersname: stringReturnsstring | undefinedReturnsRecord<string, string>