You are here

public function HttpClientBaseFormatter::__construct in Http Client 6.2

Same name and namespace in other branches
  1. 7.2 includes/HttpClient.inc \HttpClientBaseFormatter::__construct()

File

includes/HttpClient.inc, line 310

Class

HttpClientBaseFormatter
A base formatter to format php and json.

Code

public function __construct($format = self::FORMAT_PHP) {
  $this->format = $format;
}