RequestData

#SoupRequestData implements #SoupRequest for "data" URIs.

Constructors

this
this(SoupRequestData* soupRequestData, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

getRequestDataStruct
SoupRequestData* getRequestDataStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

soupRequestData
SoupRequestData* soupRequestData;

the main Gtk struct

Inherited Members

From Request

soupRequest
SoupRequest* soupRequest;

the main Gtk struct

getRequestStruct
SoupRequest* getRequestStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

__anonymous
mixin InitableT!(SoupRequest)
Undocumented in source.
getType
GType getType()
getContentLength
long getContentLength()

Gets the length of the data represented by @request. For most request types, this will not be known until after you call soup_request_send() or soup_request_send_finish().

getContentType
string getContentType()

Gets the type of the data represented by @request. For most request types, this will not be known until after you call soup_request_send() or soup_request_send_finish().

getSession
Session getSession()

Gets @request's #SoupSession

getUri
URI getUri()

Gets @request's URI

send
InputStream send(Cancellable cancellable)

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

sendAsync
void sendAsync(Cancellable cancellable, GAsyncReadyCallback callback, void* userData)

Begins an asynchronously request for the URI pointed to by @request.

sendFinish
InputStream sendFinish(AsyncResultIF result)

Gets the result of a soup_request_send_async().

Meta