Searched refs:req_ (Results 1 – 1 of 1) sorted by relevance
32 RequestImpl(EventPtr<evhtp_request_t> req) : req_(std::move(req)) { in RequestImpl()34 bufferevent_get_input(evhtp_request_get_bev(req_.get())); in RequestImpl()41 std::string GetPath() const override { return req_->uri->path->full; } in GetPath()44 const char* header = evhtp_header_find(req_->headers_in, name.c_str()); in GetFirstHeader()57 evhtp_header_key_add(req_->headers_out, "Content-Type", 0); in SendReply()58 evhtp_header_val_add(req_->headers_out, mime_type.c_str(), 1); in SendReply()59 evhtp_send_reply_start(req_.get(), status_code); in SendReply()60 evhtp_send_reply_body(req_.get(), buf.get()); in SendReply()61 evhtp_send_reply_end(req_.get()); in SendReply()65 EventPtr<evhtp_request_t> req_; member in weave::examples::HttpServerImpl::RequestImpl