We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6ad72f commit afce677Copy full SHA for afce677
src/Curl/Curl.php
@@ -46,14 +46,15 @@ class Curl
46
public $remainingRetries = 0;
47
public $retryDecider = null;
48
49
+ public $jsonDecoder = null;
50
+ public $xmlDecoder = null;
51
+
52
private $cookies = array();
53
private $headers = array();
54
private $options = array();
55
- public $jsonDecoder = null;
56
private $jsonDecoderArgs = array();
57
private $jsonPattern = '/^(?:application|text)\/(?:[a-z]+(?:[\.-][0-9a-z]+){0,}[\+\.]|x-)?json(?:-[a-z]+)?/i';
- public $xmlDecoder = null;
58
private $xmlPattern = '~^(?:text/|application/(?:atom\+|rss\+)?)xml~i';
59
private $defaultDecoder = null;
60
0 commit comments