mrss_options_new

This function creates a options struct.

?
extern (C) @system nothrow @nogc
mrss_options_new
()

Parameters

timeout
Type: int

timeout for the download procedure

proxy
Type: char*

a proxy server. can be null

proxy_authentication
Type: char*

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

certfile
Type: char*

a certificate for ssl authentication connection

password
Type: char*

the password of certfile

cacert
Type: char*

CA certificate to verify peer against. can be null

verifypeer
Type: int

active/deactive the peer check

authentication
Type: char*

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

user_agent
Type: char*

a user_agent. can be null

Return Value

a pointer to a new allocated mrss_options_t struct

Meta