Method

WebKit2WebExtensionURIRequestget_http_method

Declaration [src]

const gchar*
webkit_uri_request_get_http_method (
  WebKitURIRequest* request
)

Description [src]

Get the HTTP method of the WebKitURIRequest.

Available since:2.12

Return value

Returns: const gchar*
 

The HTTP method of the WebKitURIRequest or NULL if request is not an HTTP request.

 The data is owned by the instance.
 The value is a NUL terminated UTF-8 string.