uri::port 方法

取得 URI 的連接埠元件。 如果未指定連接埠則傳回 -1。

int port() const;

傳回值

URI 連接埠做為整數。

需求

**標頭:**base_uri.h

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

請參閱

參考

uri 類別