http is valid

From Onset Developer Wiki
http is valid

Type: Function
Context: Server
Introduced: v1.0.3

Description

Checks if this http identifier is valid.

Syntax

http_is_valid(http)

Parameters

  • http
    The http identifier.

Return Value

  • Returns true if its valid.

Example

if http_is_valid(http) then
    http_destroy(http)
end

See also