CloseHttpConnection

Family: HTTP · One form

What it does

CloseHttpConnection closes Connection on a HTTP object. It takes connectionID (an integer), and returns nothing. connectionID is the id of a Connection object, obtained elsewhere in the HTTP family.

Syntax

CloseHttpConnection(connectionID integer)

Parameters

NameType
connectionIDinteger

Every form returns

nothing

Example · generated

connection = CreateHttpConnection()CloseHttpConnection(connection)DO  Sync()LOOP

CreateHttpConnection is there to give the call something to act on; CloseHttpConnection is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

21 commands in HTTP