projects
/
mdref
/
mdref-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
2e725f2
)
add missing file
author
Michael Wallner
<mike@php.net>
Thu, 19 Feb 2015 09:37:04 +0000
(10:37 +0100)
committer
Michael 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]
patch
|
blob
diff --git a/http/Header/Parser/stream.md
b/http/Header/Parser/stream.md
new file mode 100644
(file)
index 0000000..
a9dc71f
--- /dev/null
+++ b/
http/Header/Parser/stream.md
@@ -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