kelunik/streaming-resp

A streaming RESP parser.

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

This package is auto-updated.

Last update: 2024-10-15 07:53:45 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();
}