>
#include <alp/http_const.h>
#include <alp/sysclass.h>
Go to the source code of this file.
Data Structures | |
| struct | _AlpHttpAuthInfo |
| struct | _AlpHttpDate |
| struct | _AlpHttpIPAddr |
| IP address structure Used to set DNS server Address. More... | |
| struct | _AlpHttpStrSplit |
HTTP Library callback functions | |
| typedef int(* | alp_http_class_notifystateproc )(AlpHttpStreamHandle streamH, AlpHttpURLStr in_url, int in_state, AlpHttpOpaque in_aux) |
| This is a callback function to get AlpHttpStream state. | |
| typedef int(* | alp_http_client_certconfirmproc )(AlpHttpSSL in_ssl, AlpHttpClientCertList in_list, AlpHttpOpaque in_aux) |
| This is a callback function to select a client's certlist. | |
| typedef int(* | alp_http_cookie_confirmproc )(AlpHttpCookies in_cookies, AlpHttpURLStr in_url, char *in_header, int in_header_len, AlpHttpOpaque in_aux) |
| This is a callback function to confirm whether or not to accept a Cookie. | |
| typedef int(* | alp_http_server_certconfirmproc )(AlpHttpSSL in_ssl, int in_verify_result, AlpHttpCertList in_list, AlpHttpOpaque in_aux) |
| This is a callback function to confirm whether or not to accept server's certificate. | |
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. | |
Defines | |
| #define | ALP_HTTP_ERROR_DECLARE(sys_class_id, error_id) ((alp_status_t)((alp_status_t)(sys_class_id) | (alp_status_t)(error_id) << 16)) |
| #define | ALP_STATUS_HTTP_CODE_ACCEPTED ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x13) |
| #define | ALP_STATUS_HTTP_CODE_BAD_GATEWAY ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x33) |
| #define | ALP_STATUS_HTTP_CODE_BAD_REQUEST ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x1F) |
| #define | ALP_STATUS_HTTP_CODE_CONFLICT ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x28) |
| #define | ALP_STATUS_HTTP_CODE_CONTINUE ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x0F) |
| #define | ALP_STATUS_HTTP_CODE_CREATED ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x12) |
| #define | ALP_STATUS_HTTP_CODE_EXPECTATION_FAILED ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x30) |
| #define | ALP_STATUS_HTTP_CODE_FORBIDDEN ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x22) |
| #define | ALP_STATUS_HTTP_CODE_FOUND ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x1A) |
| #define | ALP_STATUS_HTTP_CODE_GATEWAY_TIMEOUT ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x35) |
| #define | ALP_STATUS_HTTP_CODE_GONE ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x29) |
| #define | ALP_STATUS_HTTP_CODE_HTTPVERSION_NOT_SUPPORTED ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x36) |
| #define | ALP_STATUS_HTTP_CODE_INTERNAL_SERVER_ERROR ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x31) |
| #define | ALP_STATUS_HTTP_CODE_LENTH_REQUIRED ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x2A) |
| #define | ALP_STATUS_HTTP_CODE_METHOD_NOT_ALLOWED ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x24) |
| #define | ALP_STATUS_HTTP_CODE_MOVE_PERMANENTLY ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x19) |
| #define | ALP_STATUS_HTTP_CODE_MULTIPLE_CHOICES ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x18) |
| #define | ALP_STATUS_HTTP_CODE_NO_CONTENT ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x15) |
| #define | ALP_STATUS_HTTP_CODE_NON_AUTHORITATIVE_INFORMATION ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x14) |
| #define | ALP_STATUS_HTTP_CODE_NOT_ACCEPTABLE ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x25) |
| #define | ALP_STATUS_HTTP_CODE_NOT_FOUND ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x23) |
| #define | ALP_STATUS_HTTP_CODE_NOT_IMPLEMENTED ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x32) |
| #define | ALP_STATUS_HTTP_CODE_NOT_MODIFIED ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x1C) |
| #define | ALP_STATUS_HTTP_CODE_OK ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x11) |
| #define | ALP_STATUS_HTTP_CODE_PARTIAL_CONTENT ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x17) |
| #define | ALP_STATUS_HTTP_CODE_PAYMENT_REQUIRED ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x21) |
| #define | ALP_STATUS_HTTP_CODE_PRECONDITION_FAILED ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x2B) |
| #define | ALP_STATUS_HTTP_CODE_PROXY_AUTHENTICATION_REQUIRED ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x26) |
| #define | ALP_STATUS_HTTP_CODE_REQUEST_ENTITY_TOOLARGE ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x2C) |
| #define | ALP_STATUS_HTTP_CODE_REQUEST_TIMEOUT ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x27) |
| #define | ALP_STATUS_HTTP_CODE_REQUEST_URI_TOOLARGE ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x2D) |
| #define | ALP_STATUS_HTTP_CODE_REQUESTED_RANGE_NOT_SATISFIABLE ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x2F) |
| #define | ALP_STATUS_HTTP_CODE_RESET_CONTENT ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x16) |
| #define | ALP_STATUS_HTTP_CODE_SEE_OTHER ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x1B) |
| #define | ALP_STATUS_HTTP_CODE_SERVICE_UNAVAILABLE ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x34) |
| #define | ALP_STATUS_HTTP_CODE_SWITCHING_PROTOCOLS ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x10) |
| #define | ALP_STATUS_HTTP_CODE_TEMPORARY_REDIRECT ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x1E) |
| #define | ALP_STATUS_HTTP_CODE_UNAUTHORIZED ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x20) |
| #define | ALP_STATUS_HTTP_CODE_UNSUPPORTED_MEDIATYPE ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x2E) |
| #define | ALP_STATUS_HTTP_CODE_USE_PROXY ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x1D) |
| #define | ALP_STATUS_HTTP_ERROR_DNS_ERROR ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x09) |
| #define | ALP_STATUS_HTTP_ERROR_EOF ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x07) |
| #define | ALP_STATUS_HTTP_ERROR_GENERIC ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x01) |
| #define | ALP_STATUS_HTTP_ERROR_INVAL ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x06) |
| #define | ALP_STATUS_HTTP_ERROR_IOSLEEP ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x03) |
| #define | ALP_STATUS_HTTP_ERROR_NO_MEMORY ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x04) |
| #define | ALP_STATUS_HTTP_ERROR_NOT_SUPPORTED ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x08) |
| #define | ALP_STATUS_HTTP_ERROR_OK ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x00) |
| #define | ALP_STATUS_HTTP_ERROR_OTHER_ERROR ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x0E) |
| #define | ALP_STATUS_HTTP_ERROR_REQUEST_TIMEDOUT ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x0C) |
| #define | ALP_STATUS_HTTP_ERROR_RESPONSE_TIMEDOUT ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x0D) |
| #define | ALP_STATUS_HTTP_ERROR_SSL_ERROR ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x0B) |
| #define | ALP_STATUS_HTTP_ERROR_STRPIPE ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x05) |
| #define | ALP_STATUS_HTTP_ERROR_TCP_ERROR ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x0A) |
| #define | ALP_STATUS_HTTP_ERROR_WOULDBLOCK ALP_HTTP_ERROR_DECLARE(ALP_CLASS_HTTP, 0x02) |
Typedefs | |
| typedef _AlpHttpAuthInfo | AlpHttpAuthInfo |
| typedef AlpHttpAuthInfo * | AlpHttpAuthInfoHandle |
| typedef void * | AlpHttpCertList |
| typedef void * | AlpHttpCertPtr |
| typedef void * | AlpHttpClassHandle |
| typedef void * | AlpHttpClientCertList |
| typedef void * | AlpHttpCookies |
| typedef void * | AlpHttpDataHandle |
| typedef _AlpHttpDate | AlpHttpDate |
| typedef void * | AlpHttpFixedStr |
| typedef _AlpHttpIPAddr | AlpHttpIPAddr |
| typedef void * | AlpHttpOpaque |
| typedef void * | AlpHttpSSL |
| typedef void * | AlpHttpSSLClassHandle |
| typedef void * | AlpHttpStreamHandle |
| typedef void * | AlpHttpString |
| typedef _AlpHttpStrSplit | AlpHttpStrSplit |
| typedef void * | AlpHttpURLStr |
| typedef void * | AlpHttpVHandle |
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.