pub fn parse_reference_and_protocol( reference: &str, allowed_insecure: &[String], ) -> Result<(Reference, ClientProtocol), Error>
Parse a &str as a Reference and return the protocol to use.
&str