esp32-javascript › "esp32-javascript/modules/esp32-javascript/http" › Esp32JsResponse
- Esp32JsResponse
• end: function
Defined in esp32-javascript/modules/esp32-javascript/http.ts:43
▸ (data?
: undefined | string): void
Parameters:
Name | Type |
---|---|
data? |
undefined | string |
• flush: function
Defined in esp32-javascript/modules/esp32-javascript/http.ts:40
▸ (): void
• headers: Headers
Defined in esp32-javascript/modules/esp32-javascript/http.ts:48
• headersWritten: boolean
Defined in esp32-javascript/modules/esp32-javascript/http.ts:47
• isEnded: boolean
Defined in esp32-javascript/modules/esp32-javascript/http.ts:45
• on: function
Defined in esp32-javascript/modules/esp32-javascript/http.ts:39
▸ (event
: "end", cb
: function): void
Parameters:
▪ event: "end"
▪ cb: function
▸ (): void
• setStatus: function
Defined in esp32-javascript/modules/esp32-javascript/http.ts:41
▸ (status
: number, statusText?
: undefined | string): void
Parameters:
Name | Type |
---|---|
status |
number |
statusText? |
undefined | string |
• status: object
Defined in esp32-javascript/modules/esp32-javascript/http.ts:44
-
status: number
-
statusText: string
• statusWritten: boolean
Defined in esp32-javascript/modules/esp32-javascript/http.ts:46
• write: function
Defined in esp32-javascript/modules/esp32-javascript/http.ts:42
▸ (data?
: string | Uint8Array): void
Parameters:
Name | Type |
---|---|
data? |
string | Uint8Array |