URIResponse
Object Hierarchy:
Description:
[ CCode ( type_id = "webkit_uri_response_get_type ()" ) ]
public class URIResponse : Object
Represents an URI response.
A URIResponse contains information such as the URI, the status code, the content length, the mime type, the
HTTP status or the suggested filename.
Content:
Properties:
- public uint64 content_length { get; }
The expected content length of the response.
- public MessageHeaders http_headers { get; }
The HTTP headers of the response, or null
if the response is not an HTTP response.
- public string mime_type { get; }
The MIME type of the response.
- public uint status_code { get; }
The status code of the response as returned by the server.
- public string suggested_filename { get; }
The suggested filename for the URI response.
- public string uri { get; }
The URI for which the response was made.
Creation methods:
Methods:
- public uint64 get_content_length ()
Get the expected content length of the URIResponse
.
- public unowned MessageHeaders get_http_headers ()
Get the HTTP headers of a URIResponse as a
MessageHeaders.
- public unowned string get_mime_type ()
Gets the MIME type of the response.
- public uint get_status_code ()
Get the status code of the URIResponse.
- public unowned string get_suggested_filename ()
Get the suggested filename for this.
- public unowned string get_uri ()
Gets the URI which resulted in the response.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref