http\Client::count
authorMichael Wallner <mike@php.net>
Fri, 15 Nov 2013 11:34:39 +0000 (12:34 +0100)
committerMichael Wallner <mike@php.net>
Fri, 15 Nov 2013 11:34:39 +0000 (12:34 +0100)
http/Client.md
http/Client/count.md [new file with mode: 0644]

index eb36e737a8c9842bb7d1d936590462777cd1a6c9..faacc4493fef0740b7fdb59a469bda06751c1b64 100644 (file)
@@ -1,4 +1,4 @@
-# class http\Client implements SplSubject
+# class http\Client implements SplSubject, Countable
 
 The HTTP client.
 
diff --git a/http/Client/count.md b/http/Client/count.md
new file mode 100644 (file)
index 0000000..851ae1f
--- /dev/null
@@ -0,0 +1,13 @@
+# int http\Client::count()
+
+Implements Countable. Retrieve the number of enqueued requests.
+
+> **Note:** The enqueued requests are counted without regard whether they are finished or not.
+
+## Params:
+
+None.
+
+## Returns:
+
+* int, number of enqueued requests.