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