WebKit2GTK+ Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
struct WebKitURIResponse; const gchar * webkit_uri_response_get_uri (WebKitURIResponse *response
); guint webkit_uri_response_get_status_code (WebKitURIResponse *response
); guint64 webkit_uri_response_get_content_length (WebKitURIResponse *response
); const gchar * webkit_uri_response_get_mime_type (WebKitURIResponse *response
);
"content-length" guint64 : Read "mime-type" gchar* : Read "status-code" guint : Read "uri" gchar* : Read
const gchar * webkit_uri_response_get_uri (WebKitURIResponse *response
);
|
a WebKitURIResponse |
Returns : |
the uri of the WebKitURIResponse |
guint webkit_uri_response_get_status_code (WebKitURIResponse *response
);
Get the status code of the WebKitURIResponse as returned by
the server. It will normally be a SoupKnownStatusCode, for
example SOUP_STATUS_OK
, though the server can respond with any
unsigned integer.
|
a WebKitURIResponse |
Returns : |
the status code of response
|
guint64 webkit_uri_response_get_content_length
(WebKitURIResponse *response
);
Get the expected content length of the WebKitURIResponse. It can be 0 if the server provided an incorrect or missing Content-Length.
|
a WebKitURIResponse |
Returns : |
the expected content length of response . |
const gchar * webkit_uri_response_get_mime_type (WebKitURIResponse *response
);
|
a WebKitURIResponse |
Returns : |
the MIME type of the WebKitURIResponse |
"content-length"
property"content-length" guint64 : Read
The expected content length of the response.
Default value: 0
"mime-type"
property"mime-type" gchar* : Read
The MIME type of the response.
Default value: NULL
"status-code"
property"status-code" guint : Read
The status code of the response as returned by the server.
Default value: 0