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