Свойство | Type | Description | |
---|---|---|---|
$_headers | array | Request headers | |
$_options | array |
Méthode | Description | |
---|---|---|
__construct ( $options = [] ) | Constructor | |
__get ( string $name ) : mixed | Get an adapter parameter | |
__set ( string $name, mixed $value ) | Set a request parameter | |
getDefaultOptions ( ) | ||
getHeader ( string $header ) : string | Get the current value of $header | |
send ( ) : Horde_Http_Response_Base | Send this HTTP request | |
setHeaders ( mixed $headers, string $value = null ) | Set one or more headers | |
setOptions ( $options = [] ) |
abstract public send ( ) : Horde_Http_Response_Base | ||
Résultat | Horde_Http_Response_Base |
public setHeaders ( mixed $headers, string $value = null ) | ||
$headers | mixed | A hash of header + value pairs, or a single header name |
$value | string | A header value |