Share via


uri::host Method

Get the host component of the URI as an encoded string.

const utility::string_t &host() const;

Return Value

The URI host as a string.

Requirements

Header: base_uri.h

Namespace: web::http

See Also

Reference

uri Class