Skip to main content

token_path_for_socket

Function token_path_for_socket 

Source
pub fn token_path_for_socket(socket: &Path) -> PathBuf
Expand description

The bridge token file co-located with a control socket (<socket dir>/bridge.token), so a custom --socket keeps its token beside it. For the default socket this equals token_path.