HttpTrailers
Defined in: packages/format-http/src/http-trailers.ts:9
HTTP trailer headers.
Trailers are headers sent after the message body in chunked transfer encoding (HTTP/1.1) or as trailing HEADERS frames (HTTP/2/3).
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new HttpTrailers(
initialFields?,options?):HttpTrailers
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”HttpTrailers
Inherited from
Section titled “Inherited from”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