메소드 |
설명 |
|
__construct ( ) |
|
|
addHeader ( string $header ) |
|
|
extractHttpContextOptions ( ) : array |
Extracts a list of HTTP context options only. |
|
findHeader ( string $name ) : string | null |
Find the first header matching the specified name. |
|
findHeaders ( string $name ) : array |
Find all headers matching the specified name. |
|
getContent ( ) : string |
|
|
getFollowLocation ( ) : boolean |
|
|
getHeaders ( ) : array |
|
|
getIgnoreErrors ( ) : boolean |
|
|
getMaxRedirects ( ) : integer |
|
|
getMethod ( ) : string |
|
|
getProtocolVersion ( ) : float |
|
|
getProxy ( ) : string |
|
|
getQueryParameters ( ) : array |
|
|
getRequestFullUri ( ) : boolean |
|
|
getTimeout ( ) : float |
|
|
getUserAgent ( ) : string |
|
|
removeHeaders ( $name ) |
|
|
replaceHeaders ( $name, $header ) |
|
|
setContent ( string $content ) |
|
|
setFollowLocation ( boolean $followLocation ) |
|
|
setIgnoreErrors ( boolean $ignoreErrors ) |
|
|
setMaxRedirects ( integer $maxRedirects ) |
|
|
setMethod ( string $method ) |
|
|
setProtocolVersion ( float $protocolVersion ) |
|
|
setProxy ( string $proxy ) |
|
|
setQueryParameters ( array $queryParameters ) |
|
|
setRequestFullUri ( boolean $requestFullUri ) |
|
|
setTimeout ( float $timeout ) |
|
|
setUserAgent ( string $userAgent ) |
|
|