pub fn parse_reference_and_protocol(
    reference: &str,
    allowed_insecure: &[String]
) -> Result<(Reference, ClientProtocol), Error>
Expand description

Parse a &str as a Reference and return the protocol to use.