Lines Matching defs:request

44  * - check request uri for invalid characters? (e.g. encode spaces)
70 /** Set this to 1 to keep server name and uri in request state */
92 /* GET request basic */
100 /* GET request with host */
109 /* GET request with proxy */
118 /* GET request with proxy (non-default server port) */
139 struct pbuf *request;
161 if (req->request != NULL) {
162 pbuf_free(req->request);
163 req->request = NULL;
401 /* send request; last char is zero termination */
402 r = altcp_write(req->pcb, req->request->payload, req->request->len - 1, TCP_WRITE_FLAG_COPY);
404 /* could not write the single small request -> fail, don't retry */
407 /* everything written, we can free the request */
408 pbuf_free(req->request);
409 req->request = NULL;
415 /** Start the http request when the server IP addr is known */
437 * If ipaddr is non-NULL, resolving succeeded and the request can be sent, otherwise it failed.
464 /** Start the http request after converting 'server_name' to ip address (DNS or address string) */
520 /* get request len */
525 /* alloc state and request in one block */
543 req->request = pbuf_alloc(PBUF_RAW, (u16_t)(req_len + 1), PBUF_RAM);
544 if (req->request == NULL) {
548 if (req->request->next != NULL) {
574 /* set up request buffer */
576 (char *)req->request->payload, req_len + 1);
628 * @return ERR_OK if starting the request succeeds (callback_fn will be called later)
673 * @return ERR_OK if starting the request succeeds (callback_fn will be called later)
814 * @return ERR_OK if starting the request succeeds (callback_fn will be called later)
866 * @return ERR_OK if starting the request succeeds (callback_fn will be called later)