Ignore:
Timestamp:
Feb 4, 2010 6:29:16 PM (11 years ago)
Author:
ming
Message:

Implemented ticket #1018: Simple HTTP client implementation

  • pjlib-util:
    • implement http_client
  • pjlib-util-test:
    • unit test for http_client
  • pjsip-apps/samples:
    • sample http client implementation
  • build:
    • added http_client support on VS6, VS2005, MMP, and Makefile
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/include/pjlib-util/errno.h

    r2394 r3087  
    358358//#define PJ_STATUS_FROM_STUN_CODE(code)        (PJLIB_UTIL_ERRNO_START+code) 
    359359 
    360  
    361  
     360/************************************************************ 
     361 * HTTP Client ERROR 
     362 ***********************************************************/ 
     363/** 
     364 * @hideinitializer 
     365 * Invalid URL format 
     366 */ 
     367#define PJLIB_UTIL_EHTTPINURL       (PJLIB_UTIL_ERRNO_START+151)/* 320151 */ 
     368/** 
     369 * @hideinitializer 
     370 * Invalid port number 
     371 */ 
     372#define PJLIB_UTIL_EHTTPINPORT      (PJLIB_UTIL_ERRNO_START+152)/* 320152 */ 
     373/** 
     374 * @hideinitializer 
     375 * Incomplete headers received 
     376 */ 
     377#define PJLIB_UTIL_EHTTPINCHDR      (PJLIB_UTIL_ERRNO_START+153)/* 320153 */ 
     378/** 
     379 * @hideinitializer 
     380 * Insufficient buffer 
     381 */ 
     382#define PJLIB_UTIL_EHTTPINSBUF      (PJLIB_UTIL_ERRNO_START+154)/* 320154 */ 
     383/** 
     384 * @hideinitializer 
     385 * Connection lost 
     386 */ 
     387#define PJLIB_UTIL_EHTTPLOST        (PJLIB_UTIL_ERRNO_START+155)/* 320155 */ 
    362388 
    363389/** 
Note: See TracChangeset for help on using the changeset viewer.