Skip to main content

parse_with_auth

Function parse_with_auth 

Source
pub fn parse_with_auth(uri: &str) -> Result<ConnectionSpec, ParseError>
Expand description

Parse a connection URI and derive auth from RFC 3986 userinfo.

The existing parse function remains target-only for compatibility. New client-mode entry points should use this richer shape so credentials are identified and redacted before transport connectors are built.