added signature to session::abort()
This commit is contained in:
parent
c8fbd5db21
commit
f1457fd33e
|
@ -314,6 +314,9 @@ timeout can be set with <tt class="docutils literal"><span class="pre">set_setti
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="abort">
|
<div class="section" id="abort">
|
||||||
<h2><a name="abort">abort()</a></h2>
|
<h2><a name="abort">abort()</a></h2>
|
||||||
|
<pre class="literal-block">
|
||||||
|
session_proxy abort();
|
||||||
|
</pre>
|
||||||
<p>In case you want to destruct the session asynchrounously, you can request a session
|
<p>In case you want to destruct the session asynchrounously, you can request a session
|
||||||
destruction proxy. If you don't do this, the destructor of the session object will
|
destruction proxy. If you don't do this, the destructor of the session object will
|
||||||
block while the trackers are contacted. If you keep one <tt class="docutils literal"><span class="pre">session_proxy</span></tt> to the
|
block while the trackers are contacted. If you keep one <tt class="docutils literal"><span class="pre">session_proxy</span></tt> to the
|
||||||
|
|
|
@ -161,6 +161,10 @@ timeout can be set with ``set_settings()``.
|
||||||
abort()
|
abort()
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
session_proxy abort();
|
||||||
|
|
||||||
In case you want to destruct the session asynchrounously, you can request a session
|
In case you want to destruct the session asynchrounously, you can request a session
|
||||||
destruction proxy. If you don't do this, the destructor of the session object will
|
destruction proxy. If you don't do this, the destructor of the session object will
|
||||||
block while the trackers are contacted. If you keep one ``session_proxy`` to the
|
block while the trackers are contacted. If you keep one ``session_proxy`` to the
|
||||||
|
|
Loading…
Reference in New Issue