typo, parameter and type fixes
[mdref/mdref-http] / http / Message / toCallback.md
index fc48ffe6a0c56a5b6cf4901312c58d1e91d3cf0b..1e5ecaef7a299fb4d9e2f81078620232e1bdb5b4 100644 (file)
@@ -1,4 +1,4 @@
-# http\Message http\Message::toCallback(callable $callback[, int $offset = 0[, int $maxlen = 0]])
+# http\Message http\Message::toCallback(callable $callback)
 
 Stream the message through a callback.
 
@@ -6,10 +6,6 @@ Stream the message through a callback.
 
 * callable $callback  
   The callback of the form function(http\Message $from, string $data).
-* Optional int $offset = 0  
-  Start to stream from this offset.
-* Optional int $maxlen = 0  
-  Stream at most $maxlen bytes, or all if $maxlen is less than 1.
 
 ## Returns: