uri::has_same_authority 方法

傳回另一個 URI 是否和這個 URI 具有相同的授權

bool has_same_authority(
   const uri &other
) const;

參數

  • other
    要與授權比較的 uri。

傳回值

如果兩個 URI 有相同授權則為 true,否則為 false

需求

**標頭:**base_uri.h

**命名空間:**web::http

請參閱

參考

uri 類別