PHP Interface iNetwork

Show file Open project: zblogcn/zblogphp

Public Methods

Method Description
abort ( ) : mixed
addBinary ( string $name, string $entity ) : mixed
addText ( string $name, string $entity ) : mixed
enableGzip ( ) : mixed
getAllResponseHeaders ( ) : mixed
getResponseHeader ( $bstrHeader ) : mixed
open ( $bstrMethod, $bstrUrl, boolean $varAsync = true, string $bstrUser = '', string $bstrPassword = '' ) : mixed
send ( string $varBody = '' ) : mixed
setMaxRedirs ( integer $n ) : mixed
setRequestHeader ( $bstrHeader, $bstrValue ) : mixed

Method Details

abort() public method

public abort ( ) : mixed
return mixed

addBinary() public method

public addBinary ( string $name, string $entity ) : mixed
$name string
$entity string
return mixed

addText() public method

public addText ( string $name, string $entity ) : mixed
$name string
$entity string
return mixed

enableGzip() public method

public enableGzip ( ) : mixed
return mixed

getAllResponseHeaders() public method

public getAllResponseHeaders ( ) : mixed
return mixed

getResponseHeader() public method

public getResponseHeader ( $bstrHeader ) : mixed
$bstrHeader
return mixed

open() public method

public open ( $bstrMethod, $bstrUrl, boolean $varAsync = true, string $bstrUser = '', string $bstrPassword = '' ) : mixed
$bstrMethod
$bstrUrl
$varAsync boolean
$bstrUser string
$bstrPassword string
return mixed

send() public method

public send ( string $varBody = '' ) : mixed
$varBody string
return mixed

setMaxRedirs() public method

public setMaxRedirs ( integer $n ) : mixed
$n integer
return mixed

setRequestHeader() public method

public setRequestHeader ( $bstrHeader, $bstrValue ) : mixed
$bstrHeader
$bstrValue
return mixed