Searched refs:Verb (Results 1 - 2 of 2) sorted by relevance

/haiku/headers/private/netservices2/
H A DHttpRequest.h36 enum Verb { Get, Head, Post, Put, Delete, Connect, Options, Trace }; enum in class:BPrivate::Network::BHttpMethod
42 BHttpMethod(Verb verb) noexcept;
53 bool operator==(const Verb& other) const noexcept;
54 bool operator!=(const Verb& other) const noexcept;
60 std::variant<Verb, BString> fMethod;
/haiku/src/kits/network/libnetservices2/
H A DHttpRequest.cpp63 BHttpMethod::BHttpMethod(Verb verb) noexcept
107 BHttpMethod::operator==(const BHttpMethod::Verb& other) const noexcept
109 if (std::holds_alternative<Verb>(fMethod)) {
110 return std::get<Verb>(fMethod) == other;
120 BHttpMethod::operator!=(const BHttpMethod::Verb& other) const noexcept
129 if (std::holds_alternative<Verb>(fMethod)) {
130 switch (std::get<Verb>(fMethod)) {

Completed in 79 milliseconds