Request.send

Synchronously requests the URI pointed to by @request, and returns a #GInputStream that can be used to read its contents.

Note that you cannot use this method with #SoupRequests attached to a #SoupSessionAsync.

class Request
InputStream
send
(
Cancellable cancellable
)

Parameters

cancellable Cancellable

a #GCancellable or %NULL

Return Value

Type: InputStream

a #GInputStream that can be used to read from the URI pointed to by @request.

Throws

GException on failure.

Meta

Since

2.42