• Home
  • Raw
  • Download

Lines Matching refs:Request

107 Request::Request(const std::string& url,  in Request()  function in brillo::http::Request
116 Request::~Request() { in ~Request()
120 void Request::AddRange(int64_t bytes) { in AddRange()
123 ranges_.emplace_back(Request::range_value_omitted, -bytes); in AddRange()
125 ranges_.emplace_back(bytes, Request::range_value_omitted); in AddRange()
129 void Request::AddRange(uint64_t from_byte, uint64_t to_byte) { in AddRange()
134 std::unique_ptr<Response> Request::GetResponseAndBlock( in GetResponseAndBlock()
144 RequestID Request::GetResponse(const SuccessCallback& success_callback, in GetResponse()
159 void Request::SetAccept(const std::string& accept_mime_types) { in SetAccept()
164 const std::string& Request::GetAccept() const { in GetAccept()
168 void Request::SetContentType(const std::string& contentType) { in SetContentType()
173 const std::string& Request::GetContentType() const { in GetContentType()
177 void Request::AddHeader(const std::string& header, const std::string& value) { in AddHeader()
182 void Request::AddHeaders(const HeaderList& headers) { in AddHeaders()
187 bool Request::AddRequestBody(const void* data, in AddRequestBody()
196 bool Request::AddRequestBody(StreamPtr stream, brillo::ErrorPtr* error) { in AddRequestBody()
201 bool Request::AddRequestBodyAsFormData(std::unique_ptr<FormData> form_data, in AddRequestBodyAsFormData()
209 bool Request::AddResponseStream(StreamPtr stream, brillo::ErrorPtr* error) { in AddResponseStream()
216 const std::string& Request::GetRequestURL() const { in GetRequestURL()
220 const std::string& Request::GetRequestMethod() const { in GetRequestMethod()
224 void Request::SetReferer(const std::string& referer) { in SetReferer()
229 const std::string& Request::GetReferer() const { in GetReferer()
233 void Request::SetUserAgent(const std::string& user_agent) { in SetUserAgent()
238 const std::string& Request::GetUserAgent() const { in GetUserAgent()
242 bool Request::SendRequestIfNeeded(brillo::ErrorPtr* error) { in SendRequestIfNeeded()