Preparing search index...
The search index is not available
nodewox
nodewox
"http"
request
Function request
request
(
method
:
HttpMethod
, url
:
string
)
:
Promise
<
HttpResponse
>
发起一次http请求
Deprecated
use fetch() api instead.
Returns
响应对象
Parameters
method:
HttpMethod
url:
string
Returns
Promise
<
HttpResponse
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
nodewox
"audio"
"display"
"encdec"
"events"
"fs"
"graphics"
"http"
"math"
"net"
"nodewox"
gpio
i2c
i2s
spi
uart
"sys"
"usb"
Http
Server
Http
Response
Http
Server
Request
Http
Server
Response
Http
Server
Ws
Connection
Http
Method
Httpd
Handler
Callback
fetch
get
request
发起一次http请求
Deprecated
use fetch() api instead.
Returns
响应对象