mrss_options_new

This function creates a options struct.

extern (C) @system nothrow @nogc
mrss_options_new
(,
char* proxy
,,
char* certfile
,
char* password
,
char* cacert
,,,)

Parameters

timeout int

timeout for the download procedure

proxy char*

a proxy server. can be null

proxy_authentication char*

a proxy authentication (user:pwd). can be null

certfile char*

a certificate for ssl authentication connection

password char*

the password of certfile

cacert char*

CA certificate to verify peer against. can be null

verifypeer int

active/deactive the peer check

authentication char*

an authentication login (user:pwd). can be null

user_agent char*

a user_agent. can be null

Return Value

a pointer to a new allocated mrss_options_t struct

Meta