esp32-javascript › "esp32-javascript/modules/esp32-javascript/http" › XMLHttpRequest
- XMLHttpRequest
• method: string = "GET"
Defined in esp32-javascript/modules/esp32-javascript/http.ts:567
• onerror? : undefined | function
Defined in esp32-javascript/modules/esp32-javascript/http.ts:575
• onload? : undefined | function
Defined in esp32-javascript/modules/esp32-javascript/http.ts:576
• reponseHeaders? : undefined | string
Defined in esp32-javascript/modules/esp32-javascript/http.ts:568
• requestHeaders? : StringBuffer
Defined in esp32-javascript/modules/esp32-javascript/http.ts:569
• responseText? : undefined | string
Defined in esp32-javascript/modules/esp32-javascript/http.ts:573
• responseURL? : undefined | string
Defined in esp32-javascript/modules/esp32-javascript/http.ts:572
• status? : undefined | number
Defined in esp32-javascript/modules/esp32-javascript/http.ts:570
• statusText? : undefined | string
Defined in esp32-javascript/modules/esp32-javascript/http.ts:571
• url? : AnchorElement
Defined in esp32-javascript/modules/esp32-javascript/http.ts:566
▸ getAllResponseHeaders(): string | undefined
Defined in esp32-javascript/modules/esp32-javascript/http.ts:643
Returns: string | undefined
▸ open(method
: string, url
: string): void
Defined in esp32-javascript/modules/esp32-javascript/http.ts:647
Parameters:
Name | Type |
---|---|
method |
string |
url |
string |
Returns: void
▸ send(body
: string): void
Defined in esp32-javascript/modules/esp32-javascript/http.ts:578
Parameters:
Name | Type |
---|---|
body |
string |
Returns: void
▸ setRequestHeader(name
: string, value
: string): void
Defined in esp32-javascript/modules/esp32-javascript/http.ts:662
Parameters:
Name | Type |
---|---|
name |
string |
value |
string |
Returns: void