uri::has_same_authority 方法

返回另一 URI 是否与此具有相同权限

bool has_same_authority(
   const uri &other
) const;

参数

  • other
    要将权限进行比较的 uri。

返回值

如果两个 uri 有相同授权,则为 true,否则为 false

要求

**标头:**base_uri.h

**命名空间:**web::http

请参见

参考

uri 类