Skip to main content

normalize_channel_scheme

Function normalize_channel_scheme 

Source
pub fn normalize_channel_scheme(url: &str) -> String
Expand description

Rewrites the grpc:///grpc+tls:// scheme convention used by data source configs into the http:///https:// scheme tonic’s Channel expects for its TLS decision. http:///https:// URLs pass through unchanged.