native

ezhttp_option_set_plugin_end_behaviour

Syntax

native ezhttp_option_set_plugin_end_behaviour(
    EzHttpOptions:options_id,
    EzHttpPluginEndBehaviour:plugin_end_behaviour
);

Description

Sets a plugin end behaviour for the HTTP request.

Parameters

options_id Options identifier created via ezhttp_create_options().
plugin_end_behaviour Member of EzHttpPluginEndBehaviour. The plugin end behaviour to set.
Valid values are:
* EZH_CANCEL_REQUEST to cancel the request;
* EZH_FORGET_REQUEST to complete the request, but ignore its result
(callback will not be called).
Passing any other value raises a native error.

Return

This function has no return value.