Functions
contentLength
- contentLength(headers: IncomingHttpHeaders): number | string | null
Parameters
headers: IncomingHttpHeaders
Returns number | string | null
dispositionFilename
- dispositionFilename(headers: IncomingHttpHeaders): string | null
Parameters
headers: IncomingHttpHeaders
Returns string | null
isBinaryContent
- isBinaryContent(contentType?: null | string): boolean
Parameters
Optional contentType: null | string
Returns boolean
isJSON
- isJSON(contentType?: null | string): boolean
Parameters
Optional contentType: null | string
Returns boolean