Session.idleTimeout

uint idleTimeout() @property

Get idleTimeout property.

Returns

Connection lifetime (in seconds) when idle. Any connection

left idle longer than this will be closed.

Although you can change this property at any time, it will only affect newly-created connections, not currently-open ones. You can call [soup.session.Session.abort] after setting this if you want to ensure that all future connections will have this timeout value.

void idleTimeout(uint propval) @property

Set idleTimeout property.

Parameters

propvalConnection lifetime (in seconds) when idle. Any connection left idle longer than this will be closed. Although you can change this property at any time, it will only affect newly-created connections, not currently-open ones. You can call [soup.session.Session.abort] after setting this if you want to ensure that all future connections will have this timeout value.