ytls_free_secure_filter()

ytls_free_secure_filter()#

The ytls_free_secure_filter() function releases the resources associated with a secure filter created by ytls_new_secure_filter().

Prototype

void ytls_free_secure_filter(
    hytls  ytls,
    hsskt  sskt
);

Parameters

Key

Type

Description

ytls

hytls

The TLS context managing the secure filter.

sskt

hsskt

The secure socket filter to be freed.


Return Value

This function does not return a value.

Notes

Ensure that ytls_shutdown() is called before freeing the secure filter to properly close the connection.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples