Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CURL.CloseHeaderFile

Closes the header output file.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.6 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.CloseHeaderFile"; curl )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl

Result

Returns "OK" on success or error message.

Description

Closes the header output file.
To create file for header messages use CURL.CreateHeaderOutputFile function.
The plugin closes files automatically when you call CURL.Release.
Do not call this method while a transfer is running.
In case close operation itself fails, the result is a number with the native file system error code.

Examples

Close header file:

MBS("CURL.CloseHeaderFile"; $curl)

See also

Release notes

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 19th April 2020


CURL.CloseDebugFile - CURL.CloseInputFile