https://github.com/kelunik/streaming-resp
A streaming RESP parser.
https://github.com/kelunik/streaming-resp
Last synced: 2 months ago
JSON representation
A streaming RESP parser.
- Host: GitHub
- URL: https://github.com/kelunik/streaming-resp
- Owner: kelunik
- Created: 2017-06-05T12:34:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-06T15:04:14.000Z (almost 8 years ago)
- Last Synced: 2025-02-12T06:54:27.601Z (4 months ago)
- Language: PHP
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# streaming-resp
A streaming RESP parser for Amp.
## Installation
```
composer require kelunik/streaming-resp
```## Usage
```php
$parser = new StreamingRespParser($inputStream);while (yield $parser->advance()) {
$parsedItem = $parser->getCurrent();
}
```