From: Michael Wallner Date: Thu, 19 Feb 2015 09:37:04 +0000 (+0100) Subject: add missing file X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=9e439af2412dee85ba485fe6afd7ac05c33c7224;p=mdref%2Fmdref-http add missing file --- 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