飞鹅云打印机API类 Class FeieHttpClient
$host :
$port :
$path :
$method :
$postdata :
$cookies :
$referer :
$accept :
$accept_encoding :
$accept_language :
$user_agent :
$timeout :
$use_gzip :
$persist_cookies :
$persist_referers :
$debug :
$handle_redirects :
$max_redirects :
$headers_only :
$username :
$password :
$status :
$headers :
$content :
$errormsg :
$redirect_count :
$cookie_host :
__construct( $host, $port = 80)
get( $path, $data = false)
post( $path, $data)
buildQueryString( $data)
doRequest()
buildRequest()
getStatus()
getContent()
getHeaders()
getHeader( $header)
getError()
getCookies()
getRequestURL()
setUserAgent( $string)
setAuthorization( $username, $password)
setCookies( $array)
useGzip( $boolean)
setPersistCookies( $boolean)
setPersistReferers( $boolean)
setHandleRedirects( $boolean)
setMaxRedirects( $num)
setHeadersOnly( $boolean)
setDebug( $boolean)
quickGet( $url)
quickPost( $url, $data)
debug( $msg, $object = false)