FetchContextInput
The fetch adapter’s context options, as far as the adapter reads them.
Properties
Section titled “Properties”
readonlyoptionalinfo?:RequestCalls
readonlyreq:object
headers
Section titled “headers”
readonlyheaders:object
headers.get()
Section titled “headers.get()”get(
name):string|null
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string | null
method
Section titled “method”
readonlymethod:string
resHeaders
Section titled “resHeaders”
readonlyresHeaders:object
append()
Section titled “append()”append(
name,value):void
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”void
set()?
Section titled “set()?”
optionalset(name,value):void
Present on a real Headers; used so a header is set once, not appended.
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”void