SessionSync.with_options


Description:

[ CCode ( has_construct_function = false , type = "SoupSession*" ) ]
[ Version ( deprecated = true ) ]
public SessionSync.with_options (string optname1, ...)

Warning: SessionSync.with_options is deprecated.

Creates an synchronous Session with the specified options.

Note:

SessionSync is deprecated; use a plain Session, created with Session.with_options. See the <link linkend="libsoup-session-porting">porting guide</link>.

Parameters:

optname1

name of first property to set

...

value of optname1, followed by additional property/value pairs

Returns:

the new session.