Skip to main content

harden

Function harden 

Source
pub fn harden(mpv: &Mpv) -> Result<(), String>
Expand description

Configure a freshly created handle so it will not trust an unverified server.

Must run before the first loadfile. Failure is an error, not a warning: a handle that could not be told to verify TLS is exactly the one that leaks.

TRACES: UR-012 | DR-299 | UT-270