Skip to content

parseAccept

reference
1 min readUpdated

Kind: Function

Source: src/utils/accept.ts

Part of: Utils

Signature

ts
function parseAccept(acceptHeader: string): Accept[]

Parameters

NameType
acceptHeaderstring

Returns: Accept[]

Used by

3 references from 3 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (3)

  • handlersrc/middleware/compress/index.ts:139
  • DetectorTypesrc/middleware/language/language.ts:10
  • Acceptsrc/helper/accepts/accepts.ts:5

Was this page helpful?

Download as PDF
parseAccept — Hono (narrator proof)