webkitwebprocessextension.uriresponse

Module for [URIResponse] class

Types 3

Represents an URI response.

A #WebKitURIResponse contains information such as the URI, the status code, the content length, the mime type, the HTTP status or the suggested filename.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
URIResponse self() nothrowReturns `this`, for use in `with` statements.
URIResponseGidBuilder builder() static nothrowGet builder for [webkitwebprocessextension.uriresponse.URIResponse] Returns: New builder object
ulong contentLength() @property nothrowGet `contentLength` property. Returns: The expected content length of the response.
soup.message_headers.MessageHeaders httpHeaders() @property nothrowGet `httpHeaders` property. Returns: The HTTP headers of the response, or null if the response is not an HTTP response.
string mimeType() @property nothrowGet `mimeType` property. Returns: The MIME type of the response.
uint statusCode() @property nothrowGet `statusCode` property. Returns: The status code of the response as returned by the server.
string suggestedFilename() @property nothrowGet `suggestedFilename` property. Returns: The suggested filename for the URI response.
string uri() @property nothrowGet `uri` property. Returns: The URI for which the response was made.
ulong getContentLength() nothrowGet the expected content length of the #WebKitURIResponse.
soup.message_headers.MessageHeaders getHttpHeaders() nothrowGet the HTTP headers of a #WebKitURIResponse as a #SoupMessageHeaders. Returns: a #SoupMessageHeaders with the HTTP headers of response or null if response is not an HTTP response.
string getMimeType() nothrowGets the MIME type of the response. Returns: MIME type, as a string.
uint getStatusCode() nothrowGet the status code of the #WebKitURIResponse.
string getSuggestedFilename() nothrowGet the suggested filename for response.
string getUri() nothrowGets the URI which resulted in the response. Returns: response URI, as a string.
Constructors
this(void * ptr, Flag!"Take" take)
Methods
URIResponse build() nothrowCreate object from builder. Returns: New object