Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
yii
httpclient
Request
setMethod
yii\httpclient\Request::setMethod PHP Method
Request Class Documentation
Show file
Open project: yiisoft/yii2-httpclient
setMethod()
public
method
public
setMethod
(
string
$method
)
$method
string
request method
public function setMethod($method) { $this->_method = $method; return $this; }
Request
addContent
addData
addFile
addFileContent
addOptions
afterSend
beforeSend
composeCookieHeader
composeFormInputs
composeHeaderLines
createFullUrl
getFormatter
getFullUrl
getMethod
getOptions
getUrl
prepare
prepareMultiPartContent
send
setData
setMethod
setOptions
setUrl
toString