kelunik/streaming-resp

A streaming RESP parser.

dev-master 2017-06-06 15:04 UTC

This package is auto-updated.

Last update: 2024-11-15 08:05:06 UTC


README

A streaming RESP parser for Amp.

Installation

composer require kelunik/streaming-resp

Usage

$parser = new StreamingRespParser($inputStream);

while (yield $parser->advance()) {
    $parsedItem = $parser->getCurrent();
}