src/Common/Internal/Http/HttpClient.php
public function setExpectedStatusCode($statusCodes)
    {
        if (!is_array($statusCodes)) {
            $this->_expectedStatusCodes[] = $statusCodes;
        } else {
            $this->_expectedStatusCodes = $statusCodes;
        }
    }
public function setExpectedStatusCode($statusCodes)
    {
        if (!is_array($statusCodes)) {
            $this->_expectedStatusCodes[] = $statusCodes;
        } else {
            $this->_expectedStatusCodes = $statusCodes;
        }
    }
public function setExpectedStatusCode ( $ statusCodes ) { if ( ! is_array ( $ statusCodes ) ) { $ this -> _expectedStatusCodes [ ] = $ statusCodes ; } else { $ this -> _expectedStatusCodes = $ statusCodes ; } }
Sets successful status code.

@param array|string $statusCodes successful status code
Sets successful status code .