메소드 | 설명 | |
---|---|---|
getAllHeaders ( ) : array | Retrieve an array of all headers in the message | |
getAllParams ( ) : array | Retrieve an associative array of an array of query string values | |
getBody ( integer $bodySize ) : |
Retrieve the streaming request entity body. | |
getConnectionInfo ( ) : array | Retrieve an associative array of extended information about the underlying connection | |
getCookie ( string $name ) : string | null | Retrieve a cookie | |
getHeader ( string $field ) : string | null | Retrieve the first occurrence of specified header in the message | |
getHeaderArray ( string $field ) : array | Retrieve the specified header as an array of each of its occurrences in the request | |
getLocalVar ( string $key ) : mixed | Retrieve a variable from the request's mutable local storage | |
getMethod ( ) : string | Retrieve the HTTP method used to make this request | |
getOption ( string $option ) | Retrieve a server option value | |
getParam ( string $name ) : string | null | Retrieve one query string value of that name | |
getParamArray ( string $name ) : array | Retrieve a array of query string values | |
getProtocolVersion ( ) : string | Retrieve the HTTP protocol version number used by this request | |
getUri ( ) : string | Retrieve the request URI in the form /some/resource/foo?bar=1&baz=2 | |
setLocalVar ( string $key, mixed $value ) : void | Assign a variable to the request's mutable local storage |
public getAllHeaders ( ) : array | ||
리턴 | array |
public getAllParams ( ) : array | ||
리턴 | array |
public getConnectionInfo ( ) : array | ||
리턴 | array |
public getHeaderArray ( string $field ) : array | ||
$field | string | |
리턴 | array |
public getLocalVar ( string $key ) : mixed | ||
$key | string | |
리턴 | mixed |
public getParamArray ( string $name ) : array | ||
$name | string | |
리턴 | array |
public getProtocolVersion ( ) : string | ||
리턴 | string |