Lines Matching refs:statusCode
285 int statusCode;
287 int lineLength = readStatusLine(header, len, statusCode, statusText);
290 if (statusCode == -1) {
294 WTF_LOG(Network, "WebSocketHandshake %p readServerHandshake() Status code is %d", this, statusCode);
295 m_response.setStatusCode(statusCode);
297 if (statusCode != 101) {
299 m_failureReason = formatHandshakeFailureReason("Unexpected response code: " + String::number(statusCode));
379 // statusCode and statusText will be set to -1 and a null string, respectively.
380 int WebSocketHandshake::readStatusLine(const char* header, size_t headerLength, int& statusCode, String& statusText)
386 statusCode = -1;
442 statusCode = statusCodeString.toInt(&ok);