You are here

public function ServicesClientConnectionCurlRequest::configFormSubmit in Services Client 7

Same name and namespace in other branches
  1. 7.2 services_client_connection/plugins/ServicesClientConnectionCurlRequest.inc \ServicesClientConnectionCurlRequest::configFormSubmit()

Save required values

Overrides ServicesClientConnectionPlugin::configFormSubmit

File

services_client_connection/plugins/ServicesClientConnectionCurlRequest.inc, line 32
Make requests via cURL

Class

ServicesClientConnectionCurlRequest
@file Make requests via cURL

Code

public function configFormSubmit(&$form, &$form_state) {
  parent::configFormSubmit($form, $form_state);
  $form_state['config']['request_timeout'] = $form_state['values']['request_timeout'];
  $form_state['config']['ssl_verifypeer_skip'] = $form_state['values']['ssl_verifypeer_skip'];
}