Home
last modified time | relevance | path

Searched refs:RequestMethod (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/platform/cloud/
Dhttp_request.h54 enum class RequestMethod : char { enum
62 inline static const char* RequestMethodName(RequestMethod m) { in RequestMethodName()
64 case RequestMethod::kGet: in RequestMethodName()
66 case RequestMethod::kPost: in RequestMethodName()
68 case RequestMethod::kPut: in RequestMethodName()
70 case RequestMethod::kDelete: in RequestMethodName()
84 RequestMethod method) = 0;
88 RequestMethod method, const Status& result) = 0;
Dcurl_http_request_test.cc763 HttpRequest::RequestMethod method) override { in RecordRequest()
771 HttpRequest::RequestMethod method, in RecordResponse()
782 HttpRequest::RequestMethod record_request_method_ =
783 HttpRequest::RequestMethod::kGet;
787 HttpRequest::RequestMethod record_response_method_ =
788 HttpRequest::RequestMethod::kGet;
837 EXPECT_EQ(HttpRequest::RequestMethod::kGet, stats.record_request_method_); in TEST()
842 EXPECT_EQ(HttpRequest::RequestMethod::kGet, stats.record_response_method_); in TEST()
872 EXPECT_EQ(HttpRequest::RequestMethod::kGet, stats.record_request_method_); in TEST()
877 EXPECT_EQ(HttpRequest::RequestMethod::kGet, stats.record_response_method_); in TEST()
[all …]
Dcurl_http_request.cc232 method_ = RequestMethod::kDelete; in SetDeleteRequest()
242 method_ = RequestMethod::kPut; in SetPutFromFile()
271 method_ = RequestMethod::kPut; in SetPutEmptyBody()
285 method_ = RequestMethod::kPost; in SetPostFromBuffer()
300 method_ = RequestMethod::kPost; in SetPostEmptyBody()
Dcurl_http_request.h226 RequestMethod method_ = RequestMethod::kGet;
/external/webrtc/examples/peerconnection/server/
Ddata_socket.h55 enum RequestMethod { enum
71 RequestMethod method() const { return method_; } in method()
132 RequestMethod method_;
Ddata_socket.cc194 RequestMethod id; in ParseMethodAndPath()