Lines Matching refs:HTTP
3 …**http** module provides the HTTP data request capability. An application can initiate a data requ…
9 > **You are advised to use Remote Communication Kit for implementing HTTP data request capabilities…
23 // Each httpRequest corresponds to an HTTP request task and cannot be reused.
25 …n for the HTTP Response Header event, which is returned earlier than the result of the HTTP reques…
79 // data.result carries the HTTP response. Parse the response based on service requirements.
83 … // data.header carries the HTTP response header. Parse the content based on service requirements.
86 // Unsubscribe from HTTP Response Header events.
88 // Call destroy() to destroy the JavaScript object after the HTTP request is complete.
92 // Unsubscribe from HTTP Response Header events.
94 // Call destroy() to destroy the JavaScript object after the HTTP request is complete.
103 > HTTP responses compressed by the brotli algorithm are supported since API version 12.
109 …HTTP request. You can use this API to initiate or destroy an HTTP request, or enable or disable li…
134 Defines an HTTP request task. Before invoking methods of **HttpRequest**, you must call **createHtt…
140 Initiates an HTTP request to a given URL. This API uses an asynchronous callback to return the resu…
144 …on-English characters, call **encodeURL(url)** to encode the URL before initiating an HTTP request.
156 | url | string | Yes | URL for initiating an HTTP req…
186 | 2300061 | Invalid HTTP encoding format. |
197 > For details about the error codes, see [Common Error Codes](../errorcode-universal.md) and [HTTP …
198 > The HTTP error code mapping is in the format of 2300000 + Curl error code. For more common error …
223 Initiates an HTTP request containing specified options to a given URL. This API uses an asynchronou…
240 | url | string | Yes | URL for initiating an HTTP req…
271 | 2300061 | Invalid HTTP encoding format. |
282 > For details about the error codes, see [Common Error Codes](../errorcode-universal.md) and [HTTP …
283 > The HTTP error code mapping is in the format of 2300000 + Curl error code. For more common error …
331 Initiates an HTTP request containing specified options to a given URL. This API uses a promise to r…
348 | url | string | Yes | URL for initiating an HTTP request. |
384 | 2300061 | Invalid HTTP encoding format. |
395 > For details about the error codes, see [Common Error Codes](../errorcode-universal.md) and [HTTP …
396 > The HTTP error code mapping is in the format of 2300000 + Curl error code. For more common error …
435 Destroys an HTTP request.
454 Initiates an HTTP request containing specified options to a given URL. This API uses an asynchronou…
464 | url | string | Yes | URL for initiating an HTTP req…
494 | 2300061 | Invalid HTTP encoding format. |
505 > For details about the error codes, see [Common Error Codes](../errorcode-universal.md) and [HTTP …
506 > The HTTP error code mapping is in the format of 2300000 + Curl error code. For more common error …
528 Initiates an HTTP request containing specified options to a given URL. This API uses an asynchronou…
538 | url | string | Yes | URL for initiating an HTTP req…
569 | 2300061 | Invalid HTTP encoding format. |
580 > For details about the error codes, see [Common Error Codes](../errorcode-universal.md) and [HTTP …
581 > The HTTP error code mapping is in the format of 2300000 + Curl error code. For more common error …
625 Initiates an HTTP request containing specified options to a given URL. This API uses a promise to r…
635 | url | string | Yes | URL for initiating an HTTP request. |
671 | 2300061 | Invalid HTTP encoding format. |
682 > For details about the error codes, see [Common Error Codes](../errorcode-universal.md) and [HTTP …
683 > The HTTP error code mapping is in the format of 2300000 + Curl error code. For more common error …
716 Registers an observer for HTTP Response Header events.
746 Unregisters the observer for HTTP Response Header events.
776 Registers an observer for HTTP Response Header events.
805 Unregisters the observer for HTTP Response Header events.
837 Registers a one-time observer for HTTP Response Header events. Once triggered, the observer will be…
863 Registers an observer for events indicating receiving of HTTP streaming responses.
890 Unregisters the observer for events indicating receiving of HTTP streaming responses.
920 Registers an observer for events indicating completion of receiving HTTP streaming responses.
947 Unregisters the observer for events indicating completion of receiving HTTP streaming responses.
977 Registers an observer for events indicating progress of receiving HTTP streaming responses.
1004 Unregisters the observer for events indicating progress of receiving HTTP streaming responses.
1034 Registers an observer for events indicating progress of sending HTTP requests.
1061 Unregisters the observer for events indicating progress of sending HTTP requests.
1089 Specifies the type and value range of the optional parameters in the HTTP request.
1096 …HTTP request uses a POST or PUT method, this field serves as the content of the HTTP request and i…
1099 …> | number | No | Priority of concurrent HTTP/HTTPS requests. A l…
1100 | header | Object | No | HTTP request header. If th…
1104 …10) | No | Whether to use HTTP proxy. The default value is **false**, which means n…
1106 …nly for the GET method. According to section 3.1 of RFC 7233:<br>- If the HTTP PUT method is used,…
1107 …nly for the GET method. According to section 3.1 of RFC 7233:<br>- If the HTTP PUT method is used,…
1117 Defines an HTTP request method.
1136 Enumerates the response codes for an HTTP request.
1177 | VERSION | 505 | "HTTP Version Not Supported." The server does not support the HTTP pro…
1181 Defines the response to an HTTP request.
1189 … [ResponseCode](#responsecode) \| number | Yes | Result code for an HTTP request. If the cal…
1192 …| [PerformanceTiming](#performancetiming11) | Yes| Time consumed in each phase of an HTTP request.|
1268 Creates an **HttpResponseCache** object that stores the response data of HTTP requests. You can cal…
1284 | [HttpResponseCache](#httpresponsecache9) | Object that stores the response to the HTTP request.|
1296 Defines an object that stores the response to an HTTP request. Before invoking APIs provided by **H…
1338 Flushes cached data to the file system so that the data can be accessed in the next HTTP request. T…
1369 // Call destroy() to destroy the JavaScript object after the HTTP request is complete.
1379 Flushes cached data to the file system so that the data can be accessed in the next HTTP request. T…
1492 Enumerates HTTP data types.
1506 Enumerates HTTP protocol versions.
1514 …does not support HTTP3, the HTTP protocol of an earlier version is used.<br>This field is valid on…