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