AntiSSRFPolicy.AllowPlainTextHttp Property
Changing an
AntiSSRFPolicyinstance to allow plaintext HTTP means you will be able to send HTTP requests without the recommended TLS encryption.
Definition
Determines whether HTTPS is required or HTTP is allowed.
public bool AllowPlainTextHttp { get; set; }
With ALL configuration options, HTTP is disallowed unless
AllowPlainTextHttpis explicitly set totrue.
Property Value
bool
trueif HTTP should be allowed.falseif HTTPS should be required.
Exceptions
AntiSSRFException Thrown when attempting to change the property after the policy has been used to create a handler via GetHandler().