curl

package
v0.0.0-...-18194de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2026 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CURLOPT_URL            = 10002
	CURLOPT_RETURNTRANSFER = 19913
	CURLOPT_POST           = 47
	CURLOPT_POSTFIELDS     = 10015
	CURLOPT_HTTPHEADER     = 10023
	CURLOPT_USERAGENT      = 10018
	CURLOPT_TIMEOUT        = 13
	CURLOPT_CONNECTTIMEOUT = 78
	CURLOPT_FOLLOWLOCATION = 52
	CURLOPT_MAXREDIRS      = 68
	CURLOPT_SSL_VERIFYPEER = 64
	CURLOPT_SSL_VERIFYHOST = 81
	CURLOPT_CUSTOMREQUEST  = 10036
	CURLOPT_NOBODY         = 44
	CURLOPT_HEADER         = 42
	CURLOPT_ENCODING       = 10102
	CURLOPT_HEADERFUNCTION = 20079
	CURLOPT_WRITEFUNCTION  = 20011
	CURLOPT_HTTPAUTH       = 107
	CURLOPT_USERPWD        = 10005
)

CURLOPT constants — PHP values

View Source
const (
	CURLINFO_HTTP_CODE     = 2097154
	CURLINFO_CONTENT_TYPE  = 1048594
	CURLINFO_EFFECTIVE_URL = 1048577
	CURLINFO_TOTAL_TIME    = 3145731
)

CURLINFO constants

View Source
const (
	CURLE_OK                   = 0
	CURLE_UNSUPPORTED_PROTOCOL = 1
	CURLE_URL_MALFORMAT        = 3
	CURLE_COULDNT_RESOLVE_HOST = 6
	CURLE_COULDNT_CONNECT      = 7
	CURLE_HTTP_RETURNED_ERROR  = 22
	CURLE_OPERATION_TIMEDOUT   = 28
	CURLE_SSL_CONNECT_ERROR    = 35
)

CURLE error codes

Variables

View Source
var CurlHandle = &phpobj.ZClass{
	Name:         "CurlHandle",
	InternalOnly: true,
}

CurlHandle is the PHP 8 class for curl handles.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL