Lines Matching refs:response_message
333 std::string response_message; in ParseResponseInfo() local
334 response_message = response_info.headers->GetStatusLine(); in ParseResponseInfo()
335 response_message += "\r\n"; in ParseResponseInfo()
336 response_message += "Upgrade: WebSocket\r\n"; in ParseResponseInfo()
337 response_message += "Connection: Upgrade\r\n"; in ParseResponseInfo()
342 response_message += name + ": " + value + "\r\n"; in ParseResponseInfo()
344 response_message += "\r\n"; in ParseResponseInfo()
350 response_message.append(digest_data, sizeof(digest.a)); in ParseResponseInfo()
352 return ParseRawResponse(response_message.data(), in ParseResponseInfo()
353 response_message.size()) == response_message.size(); in ParseResponseInfo()
359 std::string response_message; in ParseResponseHeaderBlock() local
360 response_message = "HTTP/1.1 101 WebSocket Protocol Handshake\r\n"; in ParseResponseHeaderBlock()
361 response_message += "Upgrade: WebSocket\r\n"; in ParseResponseHeaderBlock()
362 response_message += "Connection: Upgrade\r\n"; in ParseResponseHeaderBlock()
379 response_message += iter->first + ": " + tval + "\r\n"; in ParseResponseHeaderBlock()
383 response_message += "\r\n"; in ParseResponseHeaderBlock()
389 response_message.append(digest_data, sizeof(digest.a)); in ParseResponseHeaderBlock()
391 return ParseRawResponse(response_message.data(), in ParseResponseHeaderBlock()
392 response_message.size()) == response_message.size(); in ParseResponseHeaderBlock()