Helper APIs | |
| AlpHttpString | alp_http_authinfo_pass (AlpHttpAuthInfoHandle self) |
| Return the password stored in the authentication structure as AlpHttpString in the return value. The obtained AlpHttpString of the password should not be released on the calling side. | |
| AlpHttpString | alp_http_authinfo_realm (AlpHttpAuthInfoHandle self) |
| Return the realm stored in the authentication structure as AlpHttpString in the return value.The obtained HTTPLibString of the realm should not be released on the calling side. | |
| void | alp_http_authinfo_tidy (AlpHttpAuthInfoHandle self, int in_new) |
| Initializes/ends the authentication information structure. | |
| AlpHttpString | alp_http_authinfo_user (AlpHttpAuthInfoHandle self) |
| Return the username stored in the authentication structure as AlpHttpString in the return value. The obtained AlpHttpString of the username should not be released on the calling side. | |
| void | alp_http_cert_delete (AlpHttpCertPtr in_cert) |
| Delete the Cert instance. | |
| AlpHttpCertPtr | alp_http_cert_new (void) |
| Create a new Cert instance. | |
| int | alp_http_cert_peek_issuer_rdn (AlpHttpCertPtr in_cert, int in_attr, char *out_str, int in_len) |
| Get attribute of cert's isser DN. | |
| int | alp_http_cert_peek_rsapublickeybits (AlpHttpCertPtr in_cert) |
| Get cert's public key bits. | |
| int | alp_http_cert_peek_serialnumber (AlpHttpCertPtr in_cert, char **out_str) |
| Get cert's serial number. | |
| int | alp_http_cert_peek_signalgo (AlpHttpCertPtr in_cert, char *out_buf, int in_len) |
| Get cert's sign algorithm. | |
| int | alp_http_cert_peek_subject_rdn (AlpHttpCertPtr in_cert, int in_attr, char *out_str, int in_len) |
| Get attribute of cert's subject DN. | |
| int | alp_http_cert_peek_validityend (AlpHttpCertPtr in_cert, AlpHttpDate *out_time) |
| Get cert's validity end date. | |
| int | alp_http_cert_peek_validitystart (AlpHttpCertPtr in_cert, AlpHttpDate *out_time) |
| Get cert's validity start date. | |
| int | alp_http_cert_peek_version (AlpHttpCertPtr in_cert) |
| Get cert's version. | |
| int | alp_http_certlist_begindecode (AlpHttpCertList self, int in_index, AlpHttpCertPtr *out_cert) |
| Start decoding the certificate of the specified element number. It must call alp_http_certlist_enddecode when decoding ends. | |
| AlpHttpCertList | alp_http_certlist_clone (AlpHttpCertList self) |
| Copy a AlpHttpCertList instance and returns its handle. | |
| void | alp_http_certlist_delete (AlpHttpCertList self) |
| Delete AlpHttpCertList instance. | |
| void | alp_http_certlist_enddecode (AlpHttpCertList self, AlpHttpCertPtr in_cert) |
| End the decoding of the certificate started by alp_http_certlist_begindecode(). | |
| int | alp_http_certlist_importcert (AlpHttpCertList self, void *in_info, int in_over_write) |
| Register a certificate in the certificate DB. | |
| int | alp_http_certlist_length (AlpHttpCertList self) |
| Return the length of AlpHttpCertList. | |
| void * | alp_http_certlist_lock (AlpHttpCertList self) |
| Lock the handle and returns the pointer to AlpHttpCertList instance. | |
| AlpHttpCertList | alp_http_certlist_new (int in_type) |
| Create a AlpHttpCertList instance and returns its handle. It should be empty certificate list immediately after creation. | |
| int | alp_http_certlist_remove (AlpHttpCertList self, int in_index) |
| Remove a cert in cert list. | |
| int | alp_http_certlist_type (AlpHttpCertList self) |
| Return the type of certificate list. | |
| void | alp_http_certlist_unlock (AlpHttpCertList self) |
| Unlocks the handle. | |
| AlpHttpClientCertList | alp_http_clientcertlist_clone (AlpHttpClientCertList in_list) |
| Copy a AlpHttpClientCertList instance and returns the handle. | |
| void | alp_http_clientcertlist_delete (AlpHttpClientCertList in_list) |
| Delete a AlpHttpClientCertList instance. | |
| int | alp_http_clientcertlist_length (AlpHttpClientCertList in_list) |
| Return the number of elements in the specified client certificate list AlpHttpClientCertList. | |
| int | alp_http_clientcertlist_verificationresults (AlpHttpClientCertList in_list, int in_index) |
| Return the result of the specified client certificate authentication. | |
| void | alp_http_fixedstr_delete (AlpHttpFixedStr in_str) |
| Delete AlpHttpFixedStr instance. | |
| int | alp_http_fixedstr_length (AlpHttpFixedStr in_str) |
| Return the length of AlpHttpFixedStr. | |
| void * | alp_http_fixedstr_lock (AlpHttpFixedStr in_str) |
| Lock the AlpHttpFixedStr instance, and returns its pointer. | |
| AlpHttpFixedStr | alp_http_fixedstr_new (char *in_str, int in_len) |
| Create a AlpHttpFixedStr instance, and returns its handle. | |
| void | alp_http_fixedstr_unlock (AlpHttpFixedStr in_str) |
| Unlock AlpHttpFixedStr instance. | |
| alp_status_t | alp_http_get_alp_status_code_from_http_status_code (int in_code) |
| Convert AlpHttpErrorEnum and AlpHTTPStatusCodeEnum to alp_status_t value. | |
| void | alp_http_string_delete (AlpHttpString in_str) |
| Delete the AlpHttpString instance. | |
| int | alp_http_string_length (AlpHttpString in_str) |
| Return the length of AlpHttpString. | |
| void * | alp_http_string_lock (AlpHttpString in_str) |
| Lock AlpHttpString instance, and return its pointer. | |
| AlpHttpString | alp_http_string_new (char *in_str, int in_len) |
| Create a AlpHttpString, and returns its handle. | |
| void | alp_http_string_unlock (AlpHttpString in_str) |
| Unlock AlpHttpString. | |
| void | alp_http_urlstr_delete (AlpHttpURLStr in_str) |
| Delete AlpHttpURLStr instance. | |
| int | alp_http_urlstr_length (AlpHttpURLStr in_str) |
| Return length of AlpHttpURLStr. | |
| void * | alp_http_urlstr_lock (AlpHttpURLStr in_str) |
| Lock AlpHttpURLStr instance, and returns its pointer. | |
| AlpHttpURLStr | alp_http_urlstr_new (char *in_str, int in_len) |
| Create a AlpHttpURLStr instance, and returns its handle. | |
| void | alp_http_urlstr_unlock (AlpHttpURLStr in_str) |
| Unlock AlpHttpURLStr instance¡¯s handle. | |
| int | alp_http_util_read_netaddr (char *in_s, int in_len, AlpHttpIPAddr *out_addr) |
| Convert ip address string to AlpHttpIPAddr. | |
| void | alp_http_vhandle_delete (AlpHttpVHandle in_vhandle) |
| Delete HTTPLibVData. | |
| int | alp_http_vhandle_length (AlpHttpVHandle in_vhandle) |
| Return the length of HTTPLibVData. | |
| void * | alp_http_vhandle_lock (AlpHttpVHandle in_vhandle) |
| Lock HTTPLibVData, and returns its pointer. | |
| void | alp_http_vhandle_unlock (AlpHttpVHandle in_vhandle) |
| Unlock HTTPLibVData. | |
HTTP stream class APIs | |
| int | alp_http_class_add_cookie (AlpHttpClassHandle classH, AlpHttpURLStr in_url, char *in_str, int in_len) |
| Accept the Cookie specified in in_str and in_len. | |
| void | alp_http_class_clear_authcache (AlpHttpClassHandle classH) |
| Clear the authentication information cache. This function must not be called during HTTP/HTTPS communication. | |
| void | alp_http_class_clear_dnscache (AlpHttpClassHandle classH) |
| Clear the DNS information cache. | |
| void | alp_http_class_clear_sslsessioncache (AlpHttpClassHandle classH) |
| Clear the SSL session cache. | |
| void | alp_http_class_close_allkeepalive (AlpHttpClassHandle classH) |
| Close TCP/SSL under Keep-Alive. Sockets that are in use are not closed. | |
| void | alp_http_class_empty_cookies (AlpHttpClassHandle classH) |
| Make current cookies cache empty. | |
| int | alp_http_class_is_http11overproxy (AlpHttpClassHandle classH) |
| Send back a return value indicating whether the use of HTTP/1.1 through a proxy is allowed or not. | |
| int | alp_http_class_is_useproxy (AlpHttpClassHandle classH) |
| Send back a return value indicating whether a proxy is used or not. | |
| int | alp_http_class_keepalivetimeout (AlpHttpClassHandle classH) |
| Confirm the TCP connection under Keep-Alive. | |
| int | alp_http_class_load_cookies (AlpHttpClassHandle classH, char *in_s, int in_slen) |
| Load cookeis according to in_s. | |
| int | alp_http_class_make_authinfo (AlpHttpClassHandle classH, int in_target, char *in_url, int in_url_len, char *in_proxy_host, int in_proxy_host_len, int in_proxy_port, AlpHttpStrSplit *in_realm_ss, AlpHttpAuthInfoHandle authInfoH) |
| Return the authentication information to out_info as THTTPAuthInfo. | |
| AlpHttpString | alp_http_class_make_cookiesstring (AlpHttpClassHandle classH, char *in_url, int in_url_len, int in_secure, int *out_len) |
| Make a cookie string according in_url value. | |
| void | alp_http_class_make_proxy (AlpHttpClassHandle classH, AlpHttpFixedStr *out_proxy_host, int *out_proxy_http_port, int *out_proxy_https_port, AlpHttpString *out_no_proxy_hosts) |
| Returns proxy information to out_proxy_host, out_proxy_http_port, out_proxy_https_port, and out_no_proxy_hosts. | |
| AlpHttpStreamHandle | alp_http_class_new (AlpHttpClassHandle classH) |
| Creates a THTTPStream instance. At the point the instance is created, the TCP/SSL socket has not been opened. | |
| int | alp_http_class_open_connection (AlpHttpClassHandle classH, char *in_profile_name) |
| Open a cnc connection and set DNS server address. | |
| AlpHttpString | alp_http_class_save_cookies (AlpHttpClassHandle classH, int *out_len) |
| Save current cookies cache to AlpHttpString. | |
| void | alp_http_class_select_cnc_channel (AlpHttpClassHandle classH, int in_channel_id) |
| Select open cnc channel. When open a cnc connection, this API need to called. | |
| void | alp_http_class_set_connecttimeout (AlpHttpClassHandle classH, int in_msec) |
| Set the time limit for establishing the TCP connection. | |
| void | alp_http_class_set_cookiemax (AlpHttpClassHandle classH, int in_max_total_cookies, int in_max_cookies_per_domain, int in_max_len_per_cookie) |
| Set maximum of total cookies, total cookies per domain and length per cookie. | |
| void | alp_http_class_set_cookiemode (AlpHttpClassHandle classH, int in_cookie_mode, alp_http_cookie_confirmproc in_cb, AlpHttpOpaque in_cookie_aux) |
| Customize the Cookie acceptance process. | |
| int | alp_http_class_set_defaultheaders (AlpHttpClassHandle classH, char *in_default_headers, int in_default_headers_len) |
| Set the default header. | |
| void | alp_http_class_set_dnsmaxretry (AlpHttpClassHandle classH, int in_retry) |
| Set DNS maximum retry time. | |
| int | alp_http_class_set_dnsmode (AlpHttpClassHandle classH, int in_mode) |
| Set DNS mode. | |
| void | alp_http_class_set_dnsport (AlpHttpClassHandle classH, int in_port) |
| Set the DNS port. Default setting value immediately after calling HTTPLib_CreateStreamClass() is 53. | |
| void | alp_http_class_set_dnsretryinterval (AlpHttpClassHandle classH, int in_interval) |
| Set DNS retry interval(ms). | |
| void | alp_http_class_set_dnsserver (AlpHttpClassHandle classH, AlpHttpIPAddr *in_prim_svr, AlpHttpIPAddr *in_sec_svr) |
| Set the IP address of DNS server. | |
| void | alp_http_class_set_http11overproxy (AlpHttpClassHandle classH, int in_bool) |
| Set the usage allowance for HTTP/1.1 through a proxy. | |
| void | alp_http_class_set_httpport (AlpHttpClassHandle classH, int in_port) |
| Set the HTTP default port number.If the scheme of a request URL is HTTP and the port number is not specified, the TCP connection is made to the port number set by this function. | |
| void | alp_http_class_set_httpsport (AlpHttpClassHandle classH, int in_port) |
| Set the HTTP default port number. If the scheme of a request URL is HTTPS and the port number is not specified, the TCP connection is made to the port number set by this function. | |
| void | alp_http_class_set_max100continue (AlpHttpClassHandle classH, int in_max) |
| Set the maximum receiving count of response of the status code 100. | |
| void | alp_http_class_set_maxkeepalivetimeout (AlpHttpClassHandle classH, int in_max) |
| Set the maximum Keep-Alive time. | |
| void | alp_http_class_set_maxrequestbody (AlpHttpClassHandle classH, int in_size) |
| Set the maximum size of request body. | |
| void | alp_http_class_set_maxrequestheader (AlpHttpClassHandle classH, int in_size) |
| Set the maximum size of request line. | |
| void | alp_http_class_set_maxtcpstreams (AlpHttpClassHandle classH, int in_max_streams) |
| Set the maximum number of TCP connections that can be opened at one time. | |
| void | alp_http_class_set_notifystateproc (AlpHttpClassHandle classH, alp_http_class_notifystateproc in_proc, AlpHttpOpaque in_opaque) |
| Set the callback function to get the notification of AlpHttpStream state change. | |
| int | alp_http_class_set_proxy (AlpHttpClassHandle classH, char *in_proxy_host, int in_proxy_host_len, int in_proxy_http_port, int in_proxy_https_port, char *in_no_proxy_hosts, int in_no_proxy_hosts_len) |
| Set the specified proxy information. | |
| void | alp_http_class_set_reqtimeout (AlpHttpClassHandle classH, int in_msec) |
| Set the time limit for sending a request. | |
| void | alp_http_class_set_rsptimeout (AlpHttpClassHandle classH, int in_msec) |
| Set the time limit for receiving a response. | |
| void | alp_http_class_set_sslclientcertselect_proc (AlpHttpClassHandle classH, alp_http_client_certconfirmproc in_cb, AlpHttpOpaque in_opaque) |
| Register both a callback function, to provide notification regarding the selection result of client certificate, and its argument. | |
| void | alp_http_class_set_sslservercertconfirm_proc (AlpHttpClassHandle classH, alp_http_server_certconfirmproc in_cb, AlpHttpOpaque in_opaque) |
| Register both a callback function, to provide notification regarding the confirmation result of server certificate acceptance, and its argument. | |
| void | alp_http_class_set_sslverifylocation (AlpHttpClassHandle classH, char *in_ca_file, char *in_ca_path) |
| Set default locations for trusted CA's certificates. | |
| void | alp_http_class_set_sslversionflag (AlpHttpClassHandle classH, int in_flag, int in_on) |
| Set SSL version flag. | |
| void | alp_http_class_set_useproxy (AlpHttpClassHandle classH, int in_bool) |
| Set whether or not to use a proxy. | |
| int | alp_http_class_set_useragent (AlpHttpClassHandle classH, char *in_user_agent, int in_user_agent_len) |
| Set the User-Agent name. | |
| int | alp_http_class_set_userpass (AlpHttpClassHandle classH, int in_type, int in_target, AlpHttpStrSplit *in_challenge_ss, AlpHttpStrSplit *in_realm_ss, char *in_user, int in_user_len, char *in_pass, int in_pass_len, char *in_url, int in_url_len, char *in_host, int in_host_len, int in_port) |
| Set the authentication information. | |
| void | alp_http_class_ssl_clientcertselect (AlpHttpSSL sslH, int in_index) |
| Provide notification of the result of client certificate selection. | |
| void | alp_http_class_ssl_servercertconfirm (AlpHttpSSL sslH, int in_verify_result, int in_confirm) |
| Provide notification confirming server certificate acceptance. | |
| AlpHttpSSLClassHandle | alp_http_class_sslclass (AlpHttpClassHandle classH) |
| Return the handle of SSL class used in HTTPStreamClass instance. | |
HTTP Library APIs | |
| void | alp_http_close_lib (void) |
| Close HTTP library. | |
| void | alp_http_delete_streamclass (AlpHttpClassHandle classH) |
| Delete the instance of HTTPStreamClass instance. | |
| AlpHttpClassHandle | alp_http_new_streamclass (void) |
| Create a new HTTPStreamClass instance. | |
| int | alp_http_open_lib (void) |
| Open HTTP library. | |
HTTP stream instance APIs | |
| int | alp_http_stream_add_header (AlpHttpStreamHandle streamH, int in_type, char *in_str, int in_len) |
| Add a request header with a header and a header value (substring) corresponding to the specified header ID. | |
| int | alp_http_stream_add_headerline (AlpHttpStreamHandle streamH, char *in_str, int in_len) |
| Add a request header specified by substring. | |
| void | alp_http_stream_close (AlpHttpStreamHandle streamH) |
| Close THTTPStream. TCP/SSL under Keep-Alive is not closed. | |
| int | alp_http_stream_create_request (AlpHttpStreamHandle streamH, int in_method, char *in_url, int in_url_len, char *in_header, int in_header_len, char *in_referer, int in_referer_len, int in_version, int in_no_cache, int in_pipeline, int in_ssl_flag) |
| Create a request with the specified contents. | |
| void | alp_http_stream_delete (AlpHttpStreamHandle streamH) |
| Delete THTTPStream instance. | |
| int | alp_http_stream_get_contentlength (AlpHttpStreamHandle streamH) |
| Return respose content length. | |
| int | alp_http_stream_get_entitylength (AlpHttpStreamHandle streamH) |
| Return the actual size of the received body (content) as a return value. | |
| int | alp_http_stream_get_header (AlpHttpStreamHandle streamH, int in_type, int *out_ofs, int *out_len) |
| Return the offset to the header value of the specified header ID to out_ofs, and its size to out_len. | |
| AlpHttpVHandle | alp_http_stream_get_responseheader (AlpHttpStreamHandle streamH) |
| Return the handle of a response header in a return value. The obtained handle of the response header should not be released on the calling side. | |
| int | alp_http_stream_get_responseheaderlength (AlpHttpStreamHandle streamH) |
| Return the size of a response header in a return value. | |
| int | alp_http_stream_get_scheme (AlpHttpStreamHandle streamH) |
| Return the URL scheme passed in the argument in_url when calling alp_http_stream_create_request(). | |
| int | alp_http_stream_get_state (AlpHttpStreamHandle streamH) |
| Return the HTTPStream state. | |
| int | alp_http_stream_get_statuscode (AlpHttpStreamHandle streamH) |
| Return the status code in a return value. | |
| int | alp_http_stream_is_headerreceived (AlpHttpStreamHandle streamH) |
| Send back a return value indicating whether the header has been received or not. | |
| AlpHttpCertList | alp_http_stream_make_certlist (AlpHttpStreamHandle streamH) |
| Return the server certificate chain used in the SSL communication as TCertList in the return value. | |
| int | alp_http_stream_receive_response (AlpHttpStreamHandle streamH, char *out_buf, int in_len, int *out_len, int *out_sleep) |
| Receives a response. | |
| void | alp_http_stream_resume_timer (AlpHttpStreamHandle streamH) |
| Resume a suspended HTTP timer. | |
| int | alp_http_stream_send_request (AlpHttpStreamHandle streamH, int *out_sleep) |
| Send a request. | |
| int | alp_http_stream_send_requestwithpostdata (AlpHttpStreamHandle streamH, char *in_buf, int in_len, int *out_len, int *out_sleep) |
| Send a POST request. | |
| int | alp_http_stream_set_postdata (AlpHttpStreamHandle streamH, int in_encoding, char *in_data, int in_len) |
| Set the POST data. | |
| void | alp_http_stream_suspend_timer (AlpHttpStreamHandle streamH) |
| Suspend an HTTP timer if an HTTP timer has been activated. | |
|
|
Return the password stored in the authentication structure as AlpHttpString in the return value. The obtained AlpHttpString of the password should not be released on the calling side.
|
|
|
Return the realm stored in the authentication structure as AlpHttpString in the return value.The obtained HTTPLibString of the realm should not be released on the calling side.
|
|
||||||||||||
|
Initializes/ends the authentication information structure.
|
|
|
Return the username stored in the authentication structure as AlpHttpString in the return value. The obtained AlpHttpString of the username should not be released on the calling side.
|
|
|
Delete the Cert instance.
|
|
|
Create a new Cert instance.
|
|
||||||||||||||||||||
|
Get attribute of cert's isser DN.
|
|
|
Get cert's public key bits.
|
|
||||||||||||
|
Get cert's serial number.
|
|
||||||||||||||||
|
Get cert's sign algorithm.
|
|
||||||||||||||||||||
|
Get attribute of cert's subject DN.
|
|
||||||||||||
|
Get cert's validity end date.
|
|
||||||||||||
|
Get cert's validity start date.
|
|
|
Get cert's version.
|
|
||||||||||||||||
|
Start decoding the certificate of the specified element number. It must call alp_http_certlist_enddecode when decoding ends.
|
|
|
Copy a AlpHttpCertList instance and returns its handle.
|
|
|
Delete AlpHttpCertList instance.
|
|
||||||||||||
|
End the decoding of the certificate started by alp_http_certlist_begindecode().
|
|
||||||||||||||||
|
Register a certificate in the certificate DB.
|
|
|
Return the length of AlpHttpCertList.
|
|
|
Lock the handle and returns the pointer to AlpHttpCertList instance.
|
|
|
Create a AlpHttpCertList instance and returns its handle. It should be empty certificate list immediately after creation.
|
|
||||||||||||
|
Remove a cert in cert list.
|
|
|
Return the type of certificate list.
|
|
|
Unlocks the handle.
|
|
||||||||||||||||||||
|
Accept the Cookie specified in in_str and in_len.
|
|
|
Clear the authentication information cache. This function must not be called during HTTP/HTTPS communication.
|
|
|
Clear the DNS information cache.
|
|
|
Clear the SSL session cache.
|
|
|
Close TCP/SSL under Keep-Alive. Sockets that are in use are not closed.
|
|
|
Make current cookies cache empty.
|
|
|
Send back a return value indicating whether the use of HTTP/1.1 through a proxy is allowed or not.
|
|
|
Send back a return value indicating whether a proxy is used or not.
|
|
|
Confirm the TCP connection under Keep-Alive.
|
|
||||||||||||||||
|
Load cookeis according to in_s.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Return the authentication information to out_info as THTTPAuthInfo.
|
|
||||||||||||||||||||||||
|
Make a cookie string according in_url value.
|
|
||||||||||||||||||||||||
|
Returns proxy information to out_proxy_host, out_proxy_http_port, out_proxy_https_port, and out_no_proxy_hosts.
|
|
|
Creates a THTTPStream instance. At the point the instance is created, the TCP/SSL socket has not been opened.
|
|
||||||||||||
|
Open a cnc connection and set DNS server address.
|
|
||||||||||||
|
Save current cookies cache to AlpHttpString.
|
|
||||||||||||
|
Select open cnc channel. When open a cnc connection, this API need to called.
|
|
||||||||||||
|
Set the time limit for establishing the TCP connection.
|
|
||||||||||||||||||||
|
Set maximum of total cookies, total cookies per domain and length per cookie.
|
|
||||||||||||||||||||
|
Customize the Cookie acceptance process.
|
|
||||||||||||||||
|
Set the default header.
|
|
||||||||||||
|
Set DNS maximum retry time.
|
|
||||||||||||
|
Set DNS mode.
|
|
||||||||||||
|
Set the DNS port. Default setting value immediately after calling HTTPLib_CreateStreamClass() is 53.
|
|
||||||||||||
|
Set DNS retry interval(ms).
|
|
||||||||||||||||
|
Set the IP address of DNS server.
|
|
||||||||||||
|
Set the usage allowance for HTTP/1.1 through a proxy.
|
|
||||||||||||
|
Set the HTTP default port number.If the scheme of a request URL is HTTP and the port number is not specified, the TCP connection is made to the port number set by this function.
|
|
||||||||||||
|
Set the HTTP default port number. If the scheme of a request URL is HTTPS and the port number is not specified, the TCP connection is made to the port number set by this function.
|
|
||||||||||||
|
Set the maximum receiving count of response of the status code 100.
|
|
||||||||||||
|
Set the maximum Keep-Alive time.
|
|
||||||||||||
|
Set the maximum size of request body.
|
|
||||||||||||
|
Set the maximum size of request line.
|
|
||||||||||||
|
Set the maximum number of TCP connections that can be opened at one time.
|
|
||||||||||||||||
|
Set the callback function to get the notification of AlpHttpStream state change.
|
|
||||||||||||||||||||||||||||||||
|
Set the specified proxy information.
|
|
||||||||||||
|
Set the time limit for sending a request.
|
|
||||||||||||
|
Set the time limit for receiving a response.
|
|
||||||||||||||||
|
Register both a callback function, to provide notification regarding the selection result of client certificate, and its argument.
|
|
||||||||||||||||
|
Register both a callback function, to provide notification regarding the confirmation result of server certificate acceptance, and its argument.
|
|
||||||||||||||||
|
Set default locations for trusted CA's certificates.
|
|
||||||||||||||||
|
Set SSL version flag.
|
|
||||||||||||
|
Set whether or not to use a proxy.
|
|
||||||||||||||||
|
Set the User-Agent name.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Set the authentication information.
|
|
||||||||||||
|
Provide notification of the result of client certificate selection.
|
|
||||||||||||||||
|
Provide notification confirming server certificate acceptance.
|
|
|
Return the handle of SSL class used in HTTPStreamClass instance.
|
|
|
Copy a AlpHttpClientCertList instance and returns the handle.
|
|
|
Delete a AlpHttpClientCertList instance.
|
|
|
Return the number of elements in the specified client certificate list AlpHttpClientCertList.
|
|
||||||||||||
|
Return the result of the specified client certificate authentication.
|
|
|
Close HTTP library.
|
|
|
Delete the instance of HTTPStreamClass instance.
|
|
|
Delete AlpHttpFixedStr instance.
|
|
|
Return the length of AlpHttpFixedStr.
|
|
|
Lock the AlpHttpFixedStr instance, and returns its pointer.
|
|
||||||||||||
|
Create a AlpHttpFixedStr instance, and returns its handle.
|
|
|
Unlock AlpHttpFixedStr instance.
|
|
|
Convert AlpHttpErrorEnum and AlpHTTPStatusCodeEnum to alp_status_t value.
|
|
|
Create a new HTTPStreamClass instance.
|
|
|
Open HTTP library.
|
|
||||||||||||||||||||
|
Add a request header with a header and a header value (substring) corresponding to the specified header ID.
|
|
||||||||||||||||
|
Add a request header specified by substring.
|
|
|
Close THTTPStream. TCP/SSL under Keep-Alive is not closed.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Create a request with the specified contents.
|
|
|
Delete THTTPStream instance.
|
|
|
Return respose content length. If Content-Length header exists, the function returns its value; if not, returns the actual size of the received body (content).
|
|
|
Return the actual size of the received body (content) as a return value.
|
|
||||||||||||||||||||
|
Return the offset to the header value of the specified header ID to out_ofs, and its size to out_len.
|
|
|
Return the handle of a response header in a return value. The obtained handle of the response header should not be released on the calling side.
|
|
|
Return the size of a response header in a return value.
|
|
|
Return the URL scheme passed in the argument in_url when calling alp_http_stream_create_request().
|
|
|
Return the HTTPStream state.
|
|
|
Return the status code in a return value.
|
|
|
Send back a return value indicating whether the header has been received or not.
|
|
|
Return the server certificate chain used in the SSL communication as TCertList in the return value.
|
|
||||||||||||||||||||||||
|
Receives a response.
|
|
|
Resume a suspended HTTP timer.
|
|
||||||||||||
|
Send a request.
|
|
||||||||||||||||||||||||
|
Send a POST request.
|
|
||||||||||||||||||||
|
Set the POST data.
|
|
|
Suspend an HTTP timer if an HTTP timer has been activated.
|
|
|
Delete the AlpHttpString instance.
|
|
|
Return the length of AlpHttpString.
|
|
|
Lock AlpHttpString instance, and return its pointer.
|
|
||||||||||||
|
Create a AlpHttpString, and returns its handle.
|
|
|
Unlock AlpHttpString.
|
|
|
Delete AlpHttpURLStr instance.
|
|
|
Return length of AlpHttpURLStr.
|
|
|
Lock AlpHttpURLStr instance, and returns its pointer.
|
|
||||||||||||
|
Create a AlpHttpURLStr instance, and returns its handle.
|
|
|
Unlock AlpHttpURLStr instance¡¯s handle.
|
|
||||||||||||||||
|
Convert ip address string to AlpHttpIPAddr.
|
|
|
Delete HTTPLibVData.
|
|
|
Return the length of HTTPLibVData.
|
|
|
Lock HTTPLibVData, and returns its pointer.
|
|
|
Unlock HTTPLibVData.
|
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.