Taro Fetch polyfill
Headers
Class Headers
Implements
Headers
Index
Constructors
constructor
Methods
[iterator]
append
delete
entries
for
Each
get
get
Set
Cookie
has
keys
set
values
Constructors
constructor
new
Headers
(
init
?:
HeadersInit
)
:
Headers
Parameters
Optional
init
:
HeadersInit
Returns
Headers
Methods
[iterator]
"[iterator]"
()
:
Generator
<
[
string
,
string
]
,
void
,
unknown
>
Returns
Generator
<
[
string
,
string
]
,
void
,
unknown
>
append
append
(
name
:
string
,
value
:
string
)
:
void
MDN Reference
Parameters
name
:
string
value
:
string
Returns
void
delete
delete
(
name
:
string
)
:
void
MDN Reference
Parameters
name
:
string
Returns
void
entries
entries
()
:
Generator
<
[
string
,
string
]
,
void
,
unknown
>
Returns
Generator
<
[
string
,
string
]
,
void
,
unknown
>
for
Each
forEach
(
callbackfn
:
(
value
:
string
,
key
:
string
,
parent
:
Headers
)
=>
void
,
thisArg
?:
any
,
)
:
void
Parameters
callbackfn
:
(
value
:
string
,
key
:
string
,
parent
:
Headers
)
=>
void
Optional
thisArg
:
any
Returns
void
get
get
(
name
:
string
)
:
string
MDN Reference
Parameters
name
:
string
Returns
string
get
Set
Cookie
getSetCookie
()
:
string
[]
MDN Reference
Returns
string
[]
has
has
(
name
:
string
)
:
boolean
MDN Reference
Parameters
name
:
string
Returns
boolean
keys
keys
()
:
Generator
<
string
,
void
,
unknown
>
Returns
Generator
<
string
,
void
,
unknown
>
set
set
(
name
:
string
,
value
:
string
)
:
void
MDN Reference
Parameters
name
:
string
value
:
string
Returns
void
values
values
()
:
Generator
<
string
,
void
,
unknown
>
Returns
Generator
<
string
,
void
,
unknown
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
[iterator]
append
delete
entries
for
Each
get
get
Set
Cookie
has
keys
set
values
Taro Fetch polyfill
Blob
Body
Headers
Request
Response
RequestInit
BodyInit
URLSearchParams
fetch
M
M
N
E
P
V
F
C
I
C
P
M
F
P
C
P
T
T
A
A
A
T
R
MDN Reference