Search
Preparing search index...
The search index is not available
tutils
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
"request"
External module "request"
Index
Classes
Cookie
Jar
Interfaces
HTTPClient
Request
HTTPClient
Request
Options
HTTPClient
Response
HTTPCookie
Functions
request
Functions
request
request
(
url
:
string
|
UrlObject
|
URL
, options
?:
HTTPClientRequestOptions
)
:
HTTPClientRequest
发送一个 HTTP/HTTPS 请求
Parameters
url:
string
|
UrlObject
|
URL
要请求的地址
Optional
options:
HTTPClientRequestOptions
附加选项
Returns
HTTPClientRequest
返回本次请求对象,可以调用
.abort()
终止请求
Globals
"request"
Cookie
Jar
HTTPClient
Request
HTTPClient
Request
Options
HTTPClient
Response
HTTPCookie
request
Generated using
TypeDoc
发送一个 HTTP/HTTPS 请求