HttpHeaders
Defined in: packages/format-http/src/http-headers.ts:10
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new HttpHeaders(
initialFields?,options?):HttpHeaders
Defined in: packages/format-http/src/http-fields.ts:54
Parameters
Section titled “Parameters”initialFields?
Section titled “initialFields?”options?
Section titled “options?”Returns
Section titled “Returns”HttpHeaders
Inherited from
Section titled “Inherited from”Accessors
Section titled “Accessors”contentDisposition
Section titled “contentDisposition”Get Signature
Section titled “Get Signature”get contentDisposition():
ContentDisposition[] |null
Defined in: packages/format-http/src/http-headers.ts:48
Returns
Section titled “Returns”ContentDisposition[] | null
contentLength
Section titled “contentLength”Get Signature
Section titled “Get Signature”get contentLength():
number|null
Defined in: packages/format-http/src/http-headers.ts:29
Returns
Section titled “Returns”number | null
contentType
Section titled “contentType”Get Signature
Section titled “Get Signature”get contentType():
ContentType[] |null
Defined in: packages/format-http/src/http-headers.ts:42
Returns
Section titled “Returns”ContentType[] | null
lastModified
Section titled “lastModified”Get Signature
Section titled “Get Signature”get lastModified():
Date|null
Defined in: packages/format-http/src/http-headers.ts:11
Returns
Section titled “Returns”Date | null
Methods
Section titled “Methods”[iterator]()
Section titled “[iterator]()”[iterator]():
MapIterator<[string, readonlystring[]]>
Defined in: packages/format-http/src/http-fields.ts:87
Returns
Section titled “Returns”MapIterator<[string, readonly string[]]>
Inherited from
Section titled “Inherited from”append()
Section titled “append()”append(
name, …values):void
Defined in: packages/format-http/src/http-fields.ts:133
Parameters
Section titled “Parameters”string
values
Section titled “values”…readonly string[]
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”clear()
Section titled “clear()”clear():
void
Defined in: packages/format-http/src/http-fields.ts:129
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”delete()
Section titled “delete()”delete(
name):void
Defined in: packages/format-http/src/http-fields.ts:139
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”filter()
Section titled “filter()”filter(
predicate):HttpFields
Defined in: packages/format-http/src/http-fields.ts:143
Parameters
Section titled “Parameters”predicate
Section titled “predicate”Predicate<[string, readonly string[]]>
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”foldedEntries()
Section titled “foldedEntries()”foldedEntries(
redacted?):IterableIterator<[string,string]>
Defined in: packages/format-http/src/http-fields.ts:97
Parameters
Section titled “Parameters”redacted?
Section titled “redacted?”boolean = false
Returns
Section titled “Returns”IterableIterator<[string, string]>
Inherited from
Section titled “Inherited from”get(
name): readonlystring[] |null
Defined in: packages/format-http/src/http-fields.ts:115
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”readonly string[] | null
Inherited from
Section titled “Inherited from”has(
name):boolean
Defined in: packages/format-http/src/http-fields.ts:111
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”isSensitive()
Section titled “isSensitive()”isSensitive(
name):boolean
Defined in: packages/format-http/src/http-fields.ts:168
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”isUnfoldable()
Section titled “isUnfoldable()”isUnfoldable(
name):boolean
Defined in: packages/format-http/src/http-fields.ts:158
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”names()
Section titled “names()”names():
IterableIterator<string>
Defined in: packages/format-http/src/http-fields.ts:93
Returns
Section titled “Returns”IterableIterator<string>
Inherited from
Section titled “Inherited from”set(
name,values):void
Defined in: packages/format-http/src/http-fields.ts:119
Parameters
Section titled “Parameters”string
values
Section titled “values”readonly string[] | null
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”toString()
Section titled “toString()”toString():
string
Defined in: packages/format-http/src/http-fields.ts:152
Returns a string representation of an object.
Returns
Section titled “Returns”string