From 9e439af2412dee85ba485fe6afd7ac05c33c7224 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 19 Feb 2015 10:37:04 +0100 Subject: [PATCH] add missing file --- http/Header/Parser/stream.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 http/Header/Parser/stream.md diff --git a/http/Header/Parser/stream.md b/http/Header/Parser/stream.md new file mode 100644 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 -- 2.30.2