Enum curl::easy::NetRc
[−]
[src]
pub enum NetRc { Ignored, Optional, Required, }
Options for .netrc
parsing.
Variants
Ignored
Ignoring .netrc
file and use information from url
This option is default
Optional
The use of your ~/.netrc
file is optional, and information in the URL is to be
preferred. The file will be scanned for the host and user name (to find the password only)
or for the host only, to find the first user name and password after that machine, which
ever information is not specified in the URL.
Required
This value tells the library that use of the file is required, to ignore the information in the URL, and to search the file for the host only.