L_InetHttpCloseRequest

#include "ltweb.h"

L_LTWEB_API L_INT L_InetHttpCloseRequest(hHttp)

HINET hHttp;

/* handle to an HTTP connection */

Closes an HTTP request that was opened with L_InetHttpOpenRequest.

Parameter

Description

hHttp

Handle to the HTTP connection on which to close the request. This is the same handle obtained using the L_InetHttpConnect function.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function should be called after finishing a request.

Required DLLs and Libraries

LTWEB

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

L_InetHttpOpenRequest, L_InetHttpDisConnect

Topics:

HTTP Functions: HTTP Connections

 

Working with HTTP Functions

Example

For an example, refer to L_InetHttpConnect.