|
sipxtacklib
Version 3.3
|
#include <os/OsDefs.h>#include <net/HttpBody.h>#include <net/NameValuePair.h>#include <os/OsSocket.h>#include <os/OsTimeLog.h>#include <os/OsMsgQ.h>#include <os/OsAtomics.h>#include <utl/UtlDList.h>

Go to the source code of this file.
Classes | |
| class | HttpMessage |
| HTTP message container. More... | |
Typedefs | |
| typedef UtlBoolean(* | GetDataCallbackProc) (char *pData, int iLength, void *pOptionalData, HttpMessage *pMsg) |
| Callback method used as part of HttpMessage::get. If the callback method returns FALSE, then the retrieve is aborted. More... | |
Variables | |
| const int | HttpMessageRetries = 2 |
| #define HTTP_NAME_VALUE_DELIMITER ':' |
| #define HEADER_LINE_PART_DELIMITER ' ' |
| #define END_OF_LINE_DELIMITOR "\r\n" |
| #define PASSWORD_SECRET "xpressa" |
| #define HTTP_DEFAULT_SOCKET_BUFFER_SIZE 10240 |
| #define HTTP_LONG_INT_CHARS 20 |
| #define HTTP_PROTOCOL_VERSION "HTTP/1.0" |
| #define HTTP_PROTOCOL_VERSION_1_1 "HTTP/1.1" |
| #define HTTP_GET_METHOD "GET" |
| #define HTTP_PUT_METHOD "PUT" |
| #define HTTP_POST_METHOD "POST" |
| #define HTTP_OK_CODE 200 |
| #define HTTP_OK_TEXT "OK" |
| #define HTTP_MOVED_PERMANENTLY_CODE 301 |
| #define HTTP_MOVED_PERMANENTLY_TEXT "Moved Permanently" |
| #define HTTP_MOVED_TEMPORARILY_CODE 302 |
| #define HTTP_MOVED_TEMPORARILY_TEXT "Moved Temporatily" |
| #define HTTP_UNAUTHORIZED_CODE 401 |
| #define HTTP_UNAUTHORIZED_TEXT "Unauthorized" |
| #define HTTP_FORBIDDEN_CODE 403 |
| #define HTTP_FORBIDDEN_TEXT "Forbidden" |
| #define HTTP_FILE_NOT_FOUND_CODE 404 |
| #define HTTP_FILE_NOT_FOUND_TEXT "File Not Found" |
| #define HTTP_PROXY_UNAUTHORIZED_CODE 407 |
| #define HTTP_PROXY_UNAUTHORIZED_TEXT "Proxy Authentication Required" |
| #define HTTP_UNSUPPORTED_METHOD_CODE 501 |
| #define HTTP_UNSUPPORTED_METHOD_TEXT "Not Implemented" |
| #define HTTP_OUT_OF_RESOURCES_CODE 503 |
| #define HTTP_OUT_OF_RESOURCES_TEXT "Out of Resources" |
| #define HTTP_ACCEPT_LANGUAGE_FIELD "ACCEPT-LANGUAGE" |
| #define HTTP_ACCEPT_ENCODING_FIELD "ACCEPT-ENCODING" |
| #define HTTP_AUTHORIZATION_FIELD "AUTHORIZATION" |
| #define HTTP_DATE_FIELD "DATE" |
| #define HTTP_CONTENT_DISPOSITION_FIELD "CONTENT-DISPOSITION" |
| #define HTTP_CONTENT_TRANSFER_ENCODING_FIELD "CONTENT-TRANSFER-ENCODING" |
| #define HTTP_CONTENT_LENGTH_FIELD "CONTENT-LENGTH" |
| #define HTTP_CONTENT_TYPE_FIELD "CONTENT-TYPE" |
| #define HTTP_CONTENT_ID_FIELD "CONTENT-ID" |
| #define HTTP_LOCATION_FIELD "LOCATION" |
| #define HTTP_PROXY_AUTHENTICATE_FIELD "PROXY-AUTHENTICATE" |
| #define HTTP_PROXY_AUTHORIZATION_FIELD "PROXY-AUTHORIZATION" |
| #define HTTP_REFRESH_FIELD "REFRESH" |
| #define HTTP_USER_AGENT_FIELD "USER-AGENT" |
| #define HTTP_WWW_AUTHENTICATE_FIELD "WWW-AUTHENTICATE" |
| #define HTTP_HOST_FIELD "HOST" |
| #define HTTP_ACCEPT_FIELD "ACCEPT" |
| #define HTTP_CONNECTION_FIELD "CONNECTION" |
| #define HTTP_BASIC_AUTHENTICATION "Basic" |
| #define HTTP_DIGEST_AUTHENTICATION "Digest" |
| #define HTTP_AUTHENTICATION_ALGORITHM_TOKEN "algorithm" |
| #define HTTP_MD5_ALGORITHM "MD5" |
| #define HTTP_MD5_SESSION_ALGORITHM "MD5-sess" |
| #define HTTP_AUTHENTICATION_CNONCE_TOKEN "cnonce" |
| #define HTTP_AUTHENTICATION_DOMAIN_TOKEN "domain" |
| #define HTTP_AUTHENTICATION_REALM_TOKEN "realm" |
| #define HTTP_AUTHENTICATION_NONCE_TOKEN "nonce" |
| #define HTTP_AUTHENTICATION_NONCE_COUNT_TOKEN "nc" |
| #define HTTP_AUTHENTICATION_OPAQUE_TOKEN "opaque" |
| #define HTTP_AUTHENTICATION_QOP_TOKEN "qop" |
| #define HTTP_QOP_AUTH "auth" |
| #define HTTP_QOP_AUTH_INTEGRITY "auth-int" |
| #define HTTP_AUTHENTICATION_USERNAME_TOKEN "username" |
| #define HTTP_AUTHENTICATION_URI_TOKEN "uri" |
| #define HTTP_AUTHENTICATION_RESPONSE_TOKEN "response" |
| #define HTTP_CONTENT_TRANSFER_ENCODING_BINARY "binary" |
| #define HTTP_CONTENT_TRANSFER_ENCODING_BASE64 "base64" |
| #define HTTP_CONTENT_TYPE_PARAM_ACCESS_TYPE "access-type" |
| #define HTTP_CONTENT_TYPE_PARAM_EXPIRATION "expiration" |
| #define HTTP_CONTENT_TYPE_PARAM_HASH "hash" |
| #define HTTP_CONTENT_TYPE_PARAM_SIZE "size" |
| #define HTTP_CONTENT_TYPE_PARAM_URL "url" |
| typedef UtlBoolean(* GetDataCallbackProc) (char *pData, int iLength, void *pOptionalData, HttpMessage *pMsg) |
Callback method used as part of HttpMessage::get. If the callback method returns FALSE, then the retrieve is aborted.
| const int HttpMessageRetries = 2 |