Preparing search index...
The search index is not available
handyacme
handyacme
SimpleRequest
Class SimpleRequest
Hierarchy
SimpleRequest
AuthenticatedRequest
Index
Constructors
constructor
Properties
agent
compress
content
Type
follow
size
timeout
user
Agent
Accessors
default
Fetch
Option
Methods
fetch
get
head
fetch
Constructors
constructor
new
Simple
Request
(
)
:
SimpleRequest
Returns
SimpleRequest
Properties
agent
agent
:
Agent
compress
compress
:
boolean
= true
content
Type
content
Type
:
string
= "application/json"
follow
follow
:
number
= 20
size
size
:
number
= 0
timeout
timeout
:
number
= 0
user
Agent
user
Agent
:
string
= "HandyAcme/1.0.0"
Accessors
default
Fetch
Option
get
defaultFetchOption
(
)
:
RequestInit
Returns
RequestInit
Methods
fetch
fetch
(
url
:
RequestInfo
, options
?:
RequestInit
)
:
Promise
<
Response
>
Parameters
url:
RequestInfo
Optional
options:
RequestInit
Returns
Promise
<
Response
>
get
get
(
url
:
RequestInfo
)
:
Promise
<
Response
>
Parameters
url:
RequestInfo
Returns
Promise
<
Response
>
head
head
(
url
:
RequestInfo
)
:
Promise
<
Response
>
Parameters
url:
RequestInfo
Returns
Promise
<
Response
>
Static
fetch
fetch
(
url
:
RequestInfo
, options
?:
RequestInit
)
:
Promise
<
Response
>
Parameters
url:
RequestInfo
Optional
options:
RequestInit
Returns
Promise
<
Response
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
handyacme
Simple
Request
constructor
agent
compress
content
Type
follow
size
timeout
user
Agent
default
Fetch
Option
fetch
get
head
fetch
Generated using
TypeDoc