WebKit2.URIResponse.prototype.get_status_code

function get_status_code(): Number(guint) {
    // Gjs wrapper for webkit_uri_response_get_status_code()
}
  

Get the status code of the WebKit2.URIResponse as returned by the server. It will normally be a Soup.KnownStatusCode, for example %SOUP_STATUS_OK, though the server can respond with any unsigned integer.

Returns

the status code of response