uri_builder::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: uri_builder.h

Namespace: web::http

See Also

Reference

uri_builder Class