Skip to main content

is_loopback

Function is_loopback 

Source
pub fn is_loopback(bind: &str) -> bool
Expand description

Whether a bind address is loopback-only (the trusted single-user case). Used to decide both whether --allow-remote is required and whether read endpoints must also present the auth token (they must, when non-loopback).