mdref.json config
[mdref/mdref-http] / http / Client.md
index e7057693a160436ddd8e4c3494e8c1703b579ad1..639af26b7bd65fc7a6f8c9d7fe1b2bfd9753b157 100644 (file)
@@ -1,14 +1,29 @@
-# class http\Client implements SplSubject
+# class http\Client implements SplSubject, Countable
 
-The HTTP client.
+The HTTP client. See http\Client\Curl's [options](http/Client/Curl#Options:) which is the only driver currently supported.
+
+## Constants:
+
+* DEBUG_INFO  
+  Debug callback's $data contains human readable text.
+* DEBUG_IN  
+  Debug callback's $data contains data received.
+* DEBUG_OUT  
+  Debug callback's $data contains data sent.
+* DEBUG_HEADER  
+  Debug callback's $data contains headers.
+* DEBUG_BODY  
+  Debug callback's $data contains a body part.
+* DEBUG_SSL  
+  Debug callback's $data contains SSL data.
 
 ## Properties:
 
-* private $observers = NULL  
-  SplObjectStorage, attached observers.
-* protected $options = NULL  
-  Array of set options.
-* protected $history = NULL  
-  http\Message request/response history.
-* public $recordHistory = false  
-  Boolean flag whether to record instory in http\Client::$history.
+* private SplObjectStorage $observers = NULL  
+  Attached observers.
+* protected array $options = NULL  
+  Set options.
+* protected http\Message $history = NULL  
+  Request/response history.
+* public bool $recordHistory = false  
+  Whether to record history in http\Client::$history.