Compartir a través de


uri::is_host_loopback Method

A loopback URI is one which refers to a hostname or ip address with meaning only on the local machine.

bool is_host_loopback() const;

Return Value

true if this URI references the local host, false otherwise.

Remarks

Examples include "locahost", or ip addresses in the loopback range (127.0.0.0/24).

Requirements

Header: base_uri.h

Namespace: web::http

See Also

Reference

uri Class