1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
<?php
namespace ICanBoogie\HTTP;
interface RequestOptions
{
const OPTION_PATH_PARAMS = 'path_params';
const OPTION_QUERY_PARAMS = 'query_params';
const OPTION_REQUEST_PARAMS = 'request_params';
const OPTION_COOKIE = 'cookie';
const OPTION_FILES = 'files';
const OPTION_HEADERS = 'headers';
const OPTION_CACHE_CONTROL = 'cache_control';
const OPTION_CONTENT_LENGTH = 'content_length';
const OPTION_IP = 'ip';
const OPTION_IS_LOCAL = 'is_local';
const OPTION_IS_DELETE = 'is_delete';
const OPTION_IS_CONNECT = 'is_connect';
const OPTION_IS_GET = 'is_get';
const OPTION_IS_HEAD = 'is_head';
const OPTION_IS_OPTIONS = 'is_options';
const OPTION_IS_PATCH = 'is_patch';
const OPTION_IS_POST = 'is_post';
const OPTION_IS_PUT = 'is_put';
const OPTION_IS_TRACE = 'is_trace';
const OPTION_IS_XHR = 'is_xhr';
const OPTION_METHOD = 'method';
const OPTION_PATH = 'path';
const OPTION_REFERER = 'referer';
const OPTION_URI = 'uri';
const OPTION_USER_AGENT = 'user_agent';
}