Home
last modified time | relevance | path

Searched refs:request_headers_ (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/examples/peerconnection/server/
Ddata_socket.cc106 request_headers_.append(buffer, bytes); in OnDataAvailable()
107 size_t found = request_headers_.find(kHeaderTerminator); in OnDataAvailable()
109 data_ = request_headers_.substr(found + kHeaderTerminatorLength); in OnDataAvailable()
110 request_headers_.resize(found + kHeaderTerminatorLength); in OnDataAvailable()
160 request_headers_.clear(); in Clear()
165 assert(!request_headers_.empty()); in ParseHeaders()
167 size_t i = request_headers_.find("\r\n"); in ParseHeaders()
171 if (!ParseMethodAndPath(request_headers_.data(), i)) in ParseHeaders()
178 const char* headers = request_headers_.data() + i + 2; in ParseHeaders()
179 size_t len = request_headers_.length() - i - 2; in ParseHeaders()
Ddata_socket.h139 std::string request_headers_; variable