Enumeration CurlHsts

Object with bitmasks that should be used with the HSTS_CTRL option.

CURLAUTH_BASIC becomes CurlAuth.Basic

Enumeration Members

Enumeration Members

Disabled: 0

Disable the in-memory HSTS cache for this handle.

Enable: 1

Enable the in-memory HSTS cache for this handle.

ReadonlyFile: 2

Make the HSTS file (if specified) read-only - makes libcurl not save the cache to the file when closing the handle.