mirror of
https://github.com/dlang/phobos.git
synced 2025-05-04 17:11:26 +03:00
Set CA certificates of HTTP
This commit is contained in:
parent
5c5fb29949
commit
3ef5d2ad66
1 changed files with 5 additions and 0 deletions
|
@ -2133,6 +2133,11 @@ struct HTTP
|
|||
p.curl.set(CurlOption.url, url);
|
||||
}
|
||||
|
||||
@property void caInfo(const(char)[] caFile)
|
||||
{
|
||||
p.curl.set(CurlOption.cainfo, caFile);
|
||||
}
|
||||
|
||||
// This is a workaround for mixed in content not having its
|
||||
// docs mixed in.
|
||||
version (StdDdoc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue