You are here

function rules_http_client_options_method in Rules HTTP Client 7

Options list callback for 'Method' parameter.

1 string reference to 'rules_http_client_options_method'
rules_http_client_rules_action_info in ./rules_http_client.rules.inc
Implements hook_rules_action_info().

File

./rules_http_client.rules.inc, line 69
Rules module integration.

Code

function rules_http_client_options_method() {
  return array(
    'GET' => 'GET',
    'HEAD' => 'HEAD',
    'POST' => 'POST',
    'PUT' => 'PUT',
    'DELETE' => 'DELETE',
    'TRACE' => 'TRACE',
    'OPTIONS' => 'OPTIONS',
    'CONNECT' => 'CONNECT',
    'PATCH' => 'PATCH',
  );
}