Method |
Description |
|
getCookie ( string $name ) : Icicle\Http\Message\Cookie\Cookie | null |
|
|
getCookies ( ) : array |
|
|
getHeader ( string $name ) : string |
Same as Message::getHeader(), except if the Host header is request and previously unset, the value
will be determined from the URI. |
|
getHeaderAsArray ( string $name ) : array |
Same as Message::getHeader(), except if the Host header is request and previously unset, the value
will be determined from the URI. |
|
getHeaders ( ) : array |
Same as Message::getHeaders(), except the Host header will always be set based on the URI. |
|
getMethod ( ) : string |
Returns the request method. |
|
getRequestTarget ( ) : Icicle\Http\Message\Uri |
Returns the target of the request. Unless explicitly set, this will usually be the path and query portion
of the URI. |
|
getUri ( ) : Icicle\Http\Message\Uri |
Returns the request URI. |
|
hasCookie ( string $name ) : boolean |
|
|
withCookie ( string $name, string $value ) : Icicle\Http\Message\Request |
|
|
withMethod ( string $method ) : Icicle\Http\Message\Request |
Returns a new instance with the given request method. |
|
withRequestTarget ( string $target ) : Icicle\Http\Message\Request |
Returns a new instance with the given request target. |
|
withUri ( Icicle\Http\Message\Uri $uri ) : Icicle\Http\Message\Request |
Returns a new instance with the given URI. |
|
withoutCookie ( string $name ) : Icicle\Http\Message\Request |
|
|