RHTTP_CLOSE Function

Closes an HTTP request and marks it inactive. This is a void function.

Syntax

RHTTP_CLOSE(request)

Syntax Elements

request

An HTTP request that has been used in a preceding RHTTP_GET, RHTTP_POST or RHTTP_SOAP_REQUEST call. (Otherwise, the function call is invalid.)

Operation

You cannot issue a second RHTTP_GET, RHTTP_POST or RHTTP_SOAP_REQUEST call on a request before calling either RHTTP_CLOSE or RHTTP_RETRIEVE.

RHTTP_CLOSE is required only if using HTTP 1.1, or if cancelling a request on HTTP 1.0.