Hierarchy
-
Headers <-- You are
here!
Methods
append
- append(name: string, value: string): void
-
Parameters
-
name: string
-
value: string
Returns void
delete
- delete(name: string): void
-
Parameters
Returns void
forEach
- forEach(callbackfn: function, thisArg?: any): void
-
Parameters
-
callbackfn: function
-
- (value: string, key: string, parent: Headers) => void
-
Parameters
-
value: string
-
key: string
-
Returns void
-
Optional thisArg: any
Returns void
get
- get(name: string): string | null
-
Parameters
Returns string
|
null
has
- has(name: string): boolean
-
Parameters
Returns boolean
set
- set(name: string, value: string): void
-
Parameters
-
name: string
-
value: string
Returns void
toJSON
- toJSON(): object
-
Returns object