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)

  • handler — src/middleware/compress/index.ts:139
  • DetectorType — src/middleware/language/language.ts:10
  • Accept — src/helper/accepts/accepts.ts:5

Was this page helpful?

Download as PDF