public function HttpClientBaseFormatter::contentType in Http Client 6.2
Same name and namespace in other branches
- 7.2 includes/HttpClient.inc \HttpClientBaseFormatter::contentType()
Return the content type form the data the formatter generates.
Overrides HttpClientFormatter::contentType
File
- includes/
HttpClient.inc, line 386
Class
- HttpClientBaseFormatter
- A base formatter to format php and json.
Code
public function contentType() {
return $this
->mimeType();
}