Lines Matching +full:response +full:- +full:timeout

10  * SPDX-License-Identifier: Apache-2.0
93 * @param rsp HTTP response information
103 * HTTP response from the server.
109 /** User provided HTTP response callback which is
110 * called when a response is received to a sent HTTP
119 * |←-------- body_frag_len ---------→|
120 * |←--------------------- data len --------------------→|
121 * ---------------------------------------------------------------
123 * ---------------------------------------------------------------
131 * |←------------------ body_frag_len ------------------→|
132 * |←--------------------- data len --------------------→|
133 * ---------------------------------------------------------------
135 * ---------------------------------------------------------------
141 * body_frag_len = data_len - (body_frag_start - recv_buf)
149 /** Where the response is stored, this is to be
154 /** Response buffer maximum length */
161 * did not set the response callback. If the callback
162 * is set, then the HTTP client API will call response
165 * a null response.
169 /** HTTP Content-Length field value. Will be set to zero
170 * in the event of a null response.
174 /** Amount of data given to the response callback so far, including the
177 * zero if a null response is given.
181 /** See https://tools.ietf.org/html/rfc7230#section-3.1.2 for more information.
182 * The status-code element is a 3-digit integer code
184 * The reason-phrase element exists for the sole
187 * SHOULD ignore the reason-phrase content.
189 * Will be blank if a null HTTP response is given.
194 * textual description. Set to zero if null response is
195 * given. Otherwise, will be a 3-digit integer code if
196 * valid HTTP response is given.
200 uint8_t cl_present : 1; /**< Is Content-Length field present */
214 /** HTTP response specific data (filled by http_client_req() when
217 struct http_response response; member
239 /** User supplied callback function to call when response is
242 http_response_cb_t response; member
263 * The Content-Type may be specified here or in the next field.
264 * Depending on your application, the Content-Type may vary, however
270 /** The value of the Content-Type header field, may be NULL */
290 /** Payload length is used to calculate Content-Length. Set to 0
323 * @param timeout Max timeout to wait for the data. The timeout value cannot be
325 * The timeout value is in milliseconds.
331 int32_t timeout, void *user_data);