Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
httpclient
Response
getIsOk
yii\httpclient\Response::getIsOk PHP Method
Response Class Documentation
Datei anzeigen
Open project: yiisoft/yii2-httpclient
getIsOk()
public
method
Checks if response status code is OK (status code = 20x)
public
getIsOk
( ) :
boolean
return
boolean
whether response is OK.
public function getIsOk() { return strncmp('20', $this->getStatusCode(), 2) === 0; }
Response
defaultFormat
detectFormatByContent
detectFormatByHeaders
getCookies
getData
getIsOk
getParser
getStatusCode
normalizeCookieParamName
parseCookie