kelunik/streaming-resp

A streaming RESP parser.

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

This package is auto-updated.

Last update: 2024-12-15 08:17:58 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();
}