class ApiConfig extends BaseConfigSection

Defines the global configuration when making requests to the Cloudinary API.

Properties

int $apiProxy Optional. Specifies a proxy through which to make calls to the Cloudinary API. Format: http://hostname:port.
int|float $connectionTimeout Describing the number of seconds to wait while trying to connect to a server.
string $callbackUrl A public URL of your web application that has the cloudinary_cors.html file.
string $uploadPrefix Used for changing default API host.
int|float $timeout Describing the timeout of the request in seconds. Use 0 to wait indefinitely (the default value is 60 seconds).
int|float $uploadTimeout Describing the timeout of the upload request in seconds. Use 0 to wait indefinitely.
int $chunkSize Size of single chunk when uploading large files.

Constants

CONFIG_NAME

DEFAULT_UPLOAD_PREFIX

DEFAULT_CHUNK_SIZE

DEFAULT_TIMEOUT

UPLOAD_PREFIX

API_PROXY

CONNECTION_TIMEOUT

TIMEOUT

UPLOAD_TIMEOUT

CHUNK_SIZE

CALLBACK_URL