Class Horde_Http_Request_Mock
- Horde_Http_Request_Base
- Horde_Http_Request_Mock
Package: Http
Category: Horde
License: BSD
Author: Chuck Hagenbuch chuck@horde.org
Author: Gunnar Wrobel wrobel@pardus.de
Located at Horde/Http/Request/Mock.php
Category: Horde
License: BSD
Author: Chuck Hagenbuch chuck@horde.org
Author: Gunnar Wrobel wrobel@pardus.de
Located at Horde/Http/Request/Mock.php
public
|
|
public
|
#
setResponse(
Set the HTTP response(s) to be returned by this adapter. This overwrites any responses set before. |
public
null
|
#
addResponses( array $responses )
Set the HTTP response(s) to be returned by this adapter as an array of strings. |
public
|
#
addResponse( string|resourse $body, string $code = 200, string $uri = '', array $headers = array() )
Adds a response to the stack of responses. |
__construct(),
__get(),
__set(),
getDefaultOptions(),
getHeader(),
setHeaders(),
setOptions()
|