mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 14:10:30 +03:00
etc.c.curl is missing "convenient" aliases
- those are used in all examples as if they were "real" options, so make them part of CurlOption enum
This commit is contained in:
parent
6283521f12
commit
c67d20c581
1 changed files with 6 additions and 1 deletions
|
@ -1250,7 +1250,12 @@ enum CurlOption {
|
|||
/** Set authentication type for authenticated TLS */
|
||||
tlsauth_type,
|
||||
/** the last unused */
|
||||
lastentry
|
||||
lastentry,
|
||||
|
||||
writedata = file, /// convenient alias
|
||||
readdata = infile, /// ditto
|
||||
headerdata = writeheader, /// ditto
|
||||
rtspheader = httpheader, /// ditto
|
||||
}
|
||||
///
|
||||
alias int CURLoption;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue