AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/glib/WebKitNavigationAction.cpp
/**
 * webkit_navigation_action_get_request:
 * @navigation: a #WebKitNavigationAction
 *
 * Return the #WebKitURIRequest associated with the navigation action.
 * Modifications to the returned object are <emphasis>not</emphasis> taken
 * into account when the request is sent over the network, and is intended
 * only to aid in evaluating whether a navigation action should be taken or
 * not. To modify requests before they are sent over the network the
 * #WebKitPage::send-request signal can be used instead.
 *
 * Returns: (transfer none): a #WebKitURIRequest
 *
 * Since: 2.6
 */


Return the #WebKitURIRequest associated with the navigation action.
Modifications to the returned object are not taken
into account when the request is sent over the network, and is intended
only to aid in evaluating whether a navigation action should be taken or
not. To modify requests before they are sent over the network the
#WebKitPage::send-request signal can be used instead.

(transfer none): a #WebKitURIRequest


Return the #WebKitURIRequest associated with the navigation action . Modifications to the returned object are not taken into account when the request is sent over the network and is intended only to aid in evaluating whether a navigation action should be taken or not . To modify requests before they are sent over the network the #WebKitPage :: send - request signal can be used instead . ( transfer none ) : a #WebKitURIRequest
WebKitURIRequest* webkit_navigation_action_get_request(WebKitNavigationAction* navigation)
{
    g_return_val_if_fail(navigation, nullptr);
    if (!navigation->request)
        navigation->request = adoptGRef(webkitURIRequestCreateForResourceRequest(navigation->action->request()));
    return navigation->request.get();
}
WebKitURIRequest * webkit_navigation_action_get_request ( WebKitNavigationAction * navigation ) { g_return_val_if_fail ( navigation , nullptr ) ; if ( ! navigation -> request ) navigation -> request = adoptGRef ( webkitURIRequestCreateForResourceRequest ( navigation -> action -> request ( ) ) ) ; return navigation -> request . get ( ) ; }
webkit_navigation_action_get_request:
 @navigation: a #WebKitNavigationAction
webkit_navigation_action_get_request : @navigation : a #WebKitNavigationAction