ClientContext.stealConnection

"Steals" the HTTP connection associated with @client from its #SoupServer. This happens immediately, regardless of the current state of the connection; if the response to the current #SoupMessage has not yet finished being sent, then it will be discarded; you can steal the connection from a #SoupMessage:wrote-informational or #SoupMessage:wrote-body signal handler if you need to wait for part or all of the response to be sent.

Note that when calling this function from C, @client will most likely be freed as a side effect.

class ClientContext
IOStream
stealConnection
()

Return Value

Type: IOStream

the #GIOStream formerly associated with @client (or %NULL if @client was no longer associated with a connection). No guarantees are made about what kind of #GIOStream is returned.

Meta

Since

2.50