proxygen
folly::uri_detail Namespace Reference

Typedefs

using UriTuple = std::tuple< const std::string &, const std::string &, const std::string &, const std::string &, uint16_t, const std::string &, const std::string &, const std::string & >
 

Functions

UriTuple as_tuple (const folly::Uri &k)
 

Typedef Documentation

using folly::uri_detail::UriTuple = typedef std::tuple< const std::string&, const std::string&, const std::string&, const std::string&, uint16_t, const std::string&, const std::string&, const std::string&>

Definition at line 39 of file Uri-inl.h.

Function Documentation

UriTuple folly::uri_detail::as_tuple ( const folly::Uri k)
inline

Definition at line 41 of file Uri-inl.h.

References folly::Uri::fragment(), folly::Uri::host(), folly::Uri::password(), folly::Uri::path(), folly::Uri::port(), folly::Uri::query(), folly::Uri::scheme(), and folly::Uri::username().

Referenced by std::hash< folly::Uri >::operator()(), and std::equal_to< folly::Uri >::operator()().

41  {
42  return UriTuple(
43  k.scheme(),
44  k.username(),
45  k.password(),
46  k.host(),
47  k.port(),
48  k.path(),
49  k.query(),
50  k.fragment());
51 }
const std::string & password() const
Definition: Uri.h:56
const std::string & username() const
Definition: Uri.h:53
uint16_t port() const
Definition: Uri.h:76
const std::string & host() const
Definition: Uri.h:63
const std::string & fragment() const
Definition: Uri.h:85
const std::string & query() const
Definition: Uri.h:82
const std::string & path() const
Definition: Uri.h:79
const std::string & scheme() const
Definition: Uri.h:50
std::tuple< const std::string &, const std::string &, const std::string &, const std::string &, uint16_t, const std::string &, const std::string &, const std::string & > UriTuple
Definition: Uri-inl.h:39