Http
Table of Contents
Classes
- BaseApi
- Base class for API settings.
- BaseEndpoint
- Abstract class for endpoints.
- Endpoint
- Endpoint management.
- MindeeApi
- Data class containing settings for endpoints.
- MindeeWorkflowApi
- Data class containing settings for workflows.
- ResponseValidation
- Wrapper class for http requests/responses validation handling.
- WorkflowEndpoint
- Workflow router endpoint substitute.
Constants
- API_KEY_ENV_NAME = 'MINDEE_API_KEY'
- Default key name for the API key entry in environment variables.
- BASE_URL_DEFAULT = 'https://api.mindee.net/v1'
- Default URL prefix for API calls.
- BASE_URL_ENV_NAME = 'MINDEE_BASE_URL'
- Default key name for the Base URL in environment variables.
- REQUEST_TIMEOUT_ENV_NAME = 'MINDEE_REQUEST_TIMEOUT'
- Default key name for CURL request timeout in environment variables.
- TIMEOUT_DEFAULT = 120
- Default timeout value for curl requests.
- USER_AGENT = 'mindee-api-php@v' . \Mindee\VERSION . ' php-v' . PHP_VERSION . ' ' . PHP_OS
Constants
API_KEY_ENV_NAME
Default key name for the API key entry in environment variables.
public
mixed
API_KEY_ENV_NAME
= 'MINDEE_API_KEY'
BASE_URL_DEFAULT
Default URL prefix for API calls.
public
mixed
BASE_URL_DEFAULT
= 'https://api.mindee.net/v1'
BASE_URL_ENV_NAME
Default key name for the Base URL in environment variables.
public
mixed
BASE_URL_ENV_NAME
= 'MINDEE_BASE_URL'
REQUEST_TIMEOUT_ENV_NAME
Default key name for CURL request timeout in environment variables.
public
mixed
REQUEST_TIMEOUT_ENV_NAME
= 'MINDEE_REQUEST_TIMEOUT'
TIMEOUT_DEFAULT
Default timeout value for curl requests.
public
mixed
TIMEOUT_DEFAULT
= 120
USER_AGENT
public
mixed
USER_AGENT
= 'mindee-api-php@v' . \Mindee\VERSION . ' php-v' . PHP_VERSION . ' ' . PHP_OS