Skip to main content

current_host

Function current_host 

Source
pub fn current_host() -> Option<String>
Expand description

Returns the current host address if one is set in the current scope.

This is used by with_host to provide scoped hostname context for connections.