native

ezhttp_destroy_options

Syntax

native bool:ezhttp_destroy_options(EzHttpOptions:options_id);

Description

Destroys an options object previously created via ezhttp_create_options().
It is safe to destroy an options object after sending a request because the request keeps its own snapshot.
This is mainly useful when ezhttp_create_options(.auto_destroy = false) was used or when you want eager cleanup.

Parameters

options_id Options identifier created via ezhttp_create_options().

Return

True if the options object existed and was destroyed, false otherwise.