Upgrade 3CX to v18 and get it hosted free!

Asterisk func curlopt

Author image

Synopsis:

Set options for use with the CURL() function

Description:

cookie – Send cookie with request [none]
conntimeout – Number of seconds to wait for connection
dnstimeout – Number of seconds to wait for DNS response
ftptext – For FTP, force a text transfer (boolean)
ftptimeout – For FTP, the server response timeout
header – Retrieve header information (boolean)
httptimeout – Number of seconds to wait for HTTP response
maxredirs – Maximum number of redirects to follow
proxy – Hostname or IP to use as a proxy
proxytype – http, socks4, or socks5
proxyport – port number of the proxy
proxyuserpwd – A <user>:<pass> to use for authentication
referer – Referer URL to use for the request
useragent – UserAgent string to use
userpwd – A <user>:<pass> to use for authentication
ssl_verifypeer – Whether to verify the peer certificate (boolean)
hashcompat – Result data will be compatible for use with HASH()

 

Syntax

CURLOPT(<option>)

Arguments

Not available

Return value

 

Example

Not available

Notes

  • *CLI> show function CURLOPT

 

See also



Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.