Append a header value to a given name.
The name of the HTTP header to set.
The value of the HTTP header to set.
Remove a header from from the Header
instance.
The name of the HTTP header you want to remove from the Header
instance.
Get the value of a header by it's name.
string of the name of the header value you would want.
the value associated with the header name if it exists.
Checks for header name existance.
The name of the HTTP header you want to know if exists on the headers instance.
a boolean of whether or not the header exists.
Get all of the Header
instance's names/keys.
an Array
of string
s containing all of the names/keys on the Header
instance.
Set or Override a header of a given name.
The name of the HTTP header to set.
The value of the HTTP header to set.
Get all of the Header
instance's values.
an Array
of Array
of string
s containing all of the values for each name on a Header
instance.
Generated using TypeDoc
Export the
as-fetch
Fetch API that we can use with Fastly.