$resource
$resource : resource
Client resource object
HTTP response class
setUrl(string $url) : \Pop\Http\Client\AbstractClient
Set the URL
| string | $url |
setField(string $name, mixed $value) : \Pop\Http\Client\AbstractClient
Set a field
| string | $name | |
| mixed | $value |
setFields(array $fields) : \Pop\Http\Client\AbstractClient
Set all fields
| array | $fields |
removeField(string $name) : \Pop\Http\Client\AbstractClient
Remove a field
| string | $name |
__construct(string $url, array $context = null, string $mode = 'r') : \Pop\Http\Client\Stream
Constructor
Instantiate the stream object
| string | $url | |
| array | $context | |
| string | $mode |
setContext(array $context) : \Pop\Http\Client\Stream
Set the context
| array | $context |
setMode(string $mode) : \Pop\Http\Client\Stream
Set the mode
| string | $mode |