Skip to main content

require_secure_endpoint

Function require_secure_endpoint 

Source
pub fn require_secure_endpoint(url: &Url) -> Result<(), Error>
Expand description

Refuses an endpoint that would carry credentials over plain HTTP, unless it is on this machine.