Lines Matching refs:rctx

29  void OSSL_HTTP_REQ_CTX_free(OSSL_HTTP_REQ_CTX *rctx);
31 int OSSL_HTTP_REQ_CTX_set_request_line(OSSL_HTTP_REQ_CTX *rctx, int method_POST,
34 int OSSL_HTTP_REQ_CTX_add1_header(OSSL_HTTP_REQ_CTX *rctx,
37 int OSSL_HTTP_REQ_CTX_set_expected(OSSL_HTTP_REQ_CTX *rctx,
40 int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type,
42 int OSSL_HTTP_REQ_CTX_nbio(OSSL_HTTP_REQ_CTX *rctx);
43 int OSSL_HTTP_REQ_CTX_nbio_d2i(OSSL_HTTP_REQ_CTX *rctx,
45 BIO *OSSL_HTTP_REQ_CTX_exchange(OSSL_HTTP_REQ_CTX *rctx);
47 BIO *OSSL_HTTP_REQ_CTX_get0_mem_bio(const OSSL_HTTP_REQ_CTX *rctx);
48 size_t OSSL_HTTP_REQ_CTX_get_resp_len(const OSSL_HTTP_REQ_CTX *rctx);
49 void OSSL_HTTP_REQ_CTX_set_max_response_length(OSSL_HTTP_REQ_CTX *rctx,
52 int OSSL_HTTP_is_alive(const OSSL_HTTP_REQ_CTX *rctx);
54 void OSSL_HTTP_REQ_CTX_set_max_response_hdr_lines(OSSL_HTTP_REQ_CTX *rctx,
76 OSSL_HTTP_REQ_CTX_free() frees up the HTTP request context I<rctx>.
80 OSSL_HTTP_REQ_CTX_set_request_line() adds the 1st HTTP request line to I<rctx>.
92 context I<rctx>. It can be called more than once to add multiple header lines.
97 OSSL_HTTP_REQ_CTX_set_expected() optionally sets in I<rctx> some expectations
146 OSSL_HTTP_REQ_CTX_nbio() attempts to send the request prepared in I<rctx>
178 in I<rctx> if provided by the server as <Content-Length> header field, else 0.
181 response content length for I<rctx> to I<len>. If not set or I<len> is 0
188 given by I<rctx> is still alive, i.e., has not been closed.
189 It returns 0 if I<rctx> is NULL.
192 and this was granted by the server, it can keep I<rctx> as long as it wants
194 else it should call I<OSSL_HTTP_REQ_CTX_free(rctx)> or L<OSSL_HTTP_close(3)>.
195 In case the client application keeps I<rctx> but the connection then dies
197 I/O error when trying to send the next request via I<rctx>.