|
Previous Page |
Solar_Http_Request_Adapter_Stream |
Next Page |
setMethod()
public
Solar_Http_Request_Adapter
setMethod (
string $method
)
Sets the HTTP method for the request (GET, POST, etc).
Inherited from Solar_Http_Request_Adapter.
Parameters
- (string)
$method: The method to use for the request.
Returns
- (Solar_Http_Request_Adapter) This adapter object.
Description
Sets the HTTP method for the request (GET, POST, etc).
Recgonized methods are 'OPTIONS', 'GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'TRACE', and 'CONNECT'.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- __toString()
- _exception()
- _fetch()
- _parseCookie()
- _prepareContext()
- _prepareRequest()
- apiVersion()
- dump()
- fetch()
- fetchAll()
- fetchRaw()
- getContent()
- getOptions()
- locale()
- setBasicAuth()
- setCharset()
- setContent()
- setContentType()
- setCookie()
- setCookies()
- setHeader()
- setMaxRedirects()
- setMethod()
- setProxy()
- setReferer()
- setSslCafile()
- setSslCapath()
- setSslLocalCert()
- setSslPassphrase()
- setSslVerifyPeer()
- setTimeout()
- setUri()
- setUserAgent()
- setVersion()