Lines Matching refs:HttpBase

242 class HttpBase::DocumentStream : public StreamInterface {
244 DocumentStream(HttpBase* base) : base_(base), error_(HE_DEFAULT) { } in DocumentStream()
297 HttpBase* base = Disconnect(http_error); in Read()
324 HttpBase* base = Disconnect(HE_NONE); in Close()
344 HttpBase* Disconnect(HttpError error) { in Disconnect()
347 HttpBase* base = base_; in Disconnect()
355 HttpBase* base_;
363 HttpBase::HttpBase() : mode_(HM_NONE), data_(NULL), notify_(NULL), in HttpBase() function in rtc::HttpBase
367 HttpBase::~HttpBase() { in ~HttpBase()
372 HttpBase::isConnected() const { in isConnected()
377 HttpBase::attach(StreamInterface* stream) { in attach()
383 http_stream_->SignalEvent.connect(this, &HttpBase::OnHttpStreamEvent); in attach()
389 HttpBase::detach() { in detach()
403 HttpBase::send(HttpData* data) { in send()
418 data_->document->SignalEvent.connect(this, &HttpBase::OnDocumentEvent); in send()
440 HttpBase::recv(HttpData* data) { in recv()
463 HttpBase::abort(HttpError err) { in abort()
472 StreamInterface* HttpBase::GetDocumentStream() { in GetDocumentStream()
479 HttpError HttpBase::HandleStreamClose(int error) { in HandleStreamClose()
498 bool HttpBase::DoReceiveLoop(HttpError* error) { in DoReceiveLoop()
581 HttpBase::read_and_process_data() { in read_and_process_data()
589 HttpBase::flush_data() { in flush_data()
709 HttpBase::queue_headers() { in queue_headers()
733 HttpBase::do_complete(HttpError err) { in do_complete()
757 HttpBase::OnHttpStreamEvent(StreamInterface* stream, int events, int error) { in OnHttpStreamEvent()
792 HttpBase::OnDocumentEvent(StreamInterface* stream, int events, int error) { in OnDocumentEvent()
816 HttpBase::ProcessLeader(const char* line, size_t len, HttpError* error) { in ProcessLeader()
822 HttpBase::ProcessHeader(const char* name, size_t nlen, const char* value, in ProcessHeader()
830 HttpBase::ProcessHeaderComplete(bool chunked, size_t& data_size, in ProcessHeaderComplete()
839 data_->document->SignalEvent.connect(this, &HttpBase::OnDocumentEvent); in ProcessHeaderComplete()
852 HttpBase::ProcessData(const char* data, size_t len, size_t& read, in ProcessData()
877 HttpBase::OnComplete(HttpError err) { in OnComplete()