Session.sendFinish

Gets the response to a soup_session_send_async() call and (if successful), returns a #GInputStream that can be used to read the response body.

class Session
InputStream
sendFinish
(
AsyncResultIF result
)

Parameters

result AsyncResultIF

the #GAsyncResult passed to your callback

Return Value

Type: InputStream

a #GInputStream for reading the response body, or %NULL on error.

Throws

GException on failure.

Meta

Since

2.42