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.h53 enum class RequestMethod : char { enum
61 inline static const char* RequestMethodName(RequestMethod m) { in RequestMethodName()
63 case RequestMethod::kGet: in RequestMethodName()
65 case RequestMethod::kPost: in RequestMethodName()
67 case RequestMethod::kPut: in RequestMethodName()
69 case RequestMethod::kDelete: in RequestMethodName()
83 RequestMethod method) = 0;
87 RequestMethod method, const Status& result) = 0;
Dcurl_http_request_test.cc682 HttpRequest::RequestMethod method) override { in RecordRequest()
690 HttpRequest::RequestMethod method, in RecordResponse()
701 HttpRequest::RequestMethod record_request_method_ =
702 HttpRequest::RequestMethod::kGet;
706 HttpRequest::RequestMethod record_response_method_ =
707 HttpRequest::RequestMethod::kGet;
756 EXPECT_EQ(HttpRequest::RequestMethod::kGet, stats.record_request_method_); in TEST()
761 EXPECT_EQ(HttpRequest::RequestMethod::kGet, stats.record_response_method_); in TEST()
791 EXPECT_EQ(HttpRequest::RequestMethod::kGet, stats.record_request_method_); in TEST()
796 EXPECT_EQ(HttpRequest::RequestMethod::kGet, stats.record_response_method_); in TEST()
[all …]
Dcurl_http_request.cc219 method_ = RequestMethod::kDelete; in SetDeleteRequest()
229 method_ = RequestMethod::kPut; in SetPutFromFile()
256 method_ = RequestMethod::kPut; in SetPutEmptyBody()
270 method_ = RequestMethod::kPost; in SetPostFromBuffer()
285 method_ = RequestMethod::kPost; in SetPostEmptyBody()
Dcurl_http_request.h225 RequestMethod method_ = RequestMethod::kGet;
/external/webrtc/webrtc/examples/peerconnection/server/
Ddata_socket.h56 enum RequestMethod { enum
76 RequestMethod method() const { return method_; } in method()
135 RequestMethod method_;
Ddata_socket.cc191 RequestMethod id; in ParseMethodAndPath()