add missing file
authorMichael Wallner <mike@php.net>
Thu, 19 Feb 2015 09:37:04 +0000 (10:37 +0100)
committerMichael Wallner <mike@php.net>
Thu, 19 Feb 2015 09:37:04 +0000 (10:37 +0100)
http/Header/Parser/stream.md [new file with mode: 0644]

diff --git a/http/Header/Parser/stream.md b/http/Header/Parser/stream.md
new file mode 100644 (file)
index 0000000..a9dc71f
--- /dev/null
@@ -0,0 +1,21 @@
+# int http\Header\Parser::stream(resource $stream, int $flags, array &$headers)
+
+Parse a stream.
+
+## Params:
+
+* stream $resource  
+  The header stream to parse from.
+* int $flags  
+  Any combination of [parser flags](http/Header/Parser#Parser.flags:).
+* array &$headers  
+  The headers parsed.
+
+## Returns:
+
+* int, http\Header\Parser::STATE_* constant.
+
+## Throws:
+
+* http\Exception\InvalidArgumentException
+* http\Exception\UnexpectedValueException