http get all

From Onset Developer Wiki
http get all

Type: Function
Context: Server
Introduced: v1.0.3

Description

Gets all http identifer in a table.

Syntax

http_get_all()

Parameters

  • This function has no parameters.

Return Value

  • Returns all http identifers in a table.

Example

function destroyAllHTTPs()
    for index, http in ipairs(http_get_all()) do
        http_destroy(http)
    end
end

See also