curl::option

[<<<] [>>>]

Call this function to set the various options of the actual curl session.

Usage:

curl::option CURL, "option" [, value]

The various options that the current version of the module supports are listed in the following sections. Note that the documentation is mainly copied from the original CURL lib documentation.

Some of the options require a string as a parameter. The strings usually should not contain zero character. The exception is the option POSTFIELDS, which is handled in a special way to allow the programmer to send arbitrary binary data as HTTP POST parameter.

The option names in the section titles in this document are followed by one of the words string, integer and flag.

The option names are implemented case sensitive in this module, thus you can not use "verbose" instead of "VERBOSE". Also the programmer should type the option names precisely, no mispelling is tolerated by the program.


[<<<] [>>>]