implements Phalcon\Http\Client\AdapterInterface
public Phalcon\Http\Client\Adapter setUserAgent (string $useragent)
Sets the value of the userAgent property
public Phalcon\Http\Client\Adapter setAuth (string $username, string $password, [string $authtype], [array $digest], [string $entityBody])
Set authentication credential
public Phalcon\Http\Client\Adapter setHeader (string $name, string $value)
Set header
public Phalcon\Http\Client\Adapter setHeaders (array $headers)
Set headers
public Phalcon\Http\Client\Adapter setData (array|string $data, [unknown $type])
Set data
public Phalcon\Http\Client\Adapter setFile ()
Set send file
public Phalcon\Http\Client\Adapter setFiles (array|string $files)
Set send files
public string getPath ()
Retrieve the URI path
public Phalcon\Http\Client\Response get ([string $uri], [string $data], [unknown $type])
Send GET request
public Phalcon\Http\Client\Response head ([string $uri], [string $data], [unknown $type])
Send HEAD request
public Phalcon\Http\Client\Response post ([string $uri], [string $data], [unknown $type])
Send POST request
public Phalcon\Http\Client\Response put ([string $uri], [string $data], [unknown $type])
Send PUT request
public Phalcon\Http\Client\Response delete ([string $uri], [string $data], [unknown $type])
Send DELETE request
public Phalcon\Http\Client\Adapter setUri (string $uri)
Set URI
public Phalcon\Http\Uri getUri ()
Get URI
public Phalcon\Http\Client\Adapter setBaseUri ([string $uri])
Set base URI
public Phalcon\Http\Client\Adapter setMethod (unknown $method)
Set method
public Phalcon\Http\Client\Adapter setTimeOut (unknown $time)
Set the request timeout
public Phalcon\Http\Client\Response send ([unknown $uri])
Send request
abstract protected sendInternal ()
...