Share via


uri::has_same_authority Method

Returns whether the other uri has the same authority as this one

bool has_same_authority(
   const uri &other
) const;

Parameters

  • other
    The uri to compare the authority with.

Return Value

true if both the uri's have the same authority, false otherwise.

Requirements

Header: base_uri.h

Namespace: web::http

See Also

Reference

uri Class