Skip to main content

default_token_path

Function default_token_path 

Source
pub fn default_token_path() -> PathBuf
Expand description

Returns the path to the RPC admin token within the effective data directory (see default_data_dir). This is where a daemon started with the same environment saves the token, so clients can read it back from here.