devel/rubygem-event_stream_parser 1.0.0 FreeBSD
Spec-compliant event stream parser
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, rubygems
- Package size
- 5.8 KiB, 13.3 KiB installed
Description
event_stream_parser is a lightweight, fully spec-compliant parser for the event stream format.
It only deals with the parsing of events and not any of the client/transport aspects. This is not a Server-sent Events (SSE) client.
Under the hood, it's a stateful parser that receives chunks (that are received from an HTTP client, for example) and emits events as it parses them. But it remembers the last event id and reconnection time and keeps emitting them as long as they are not overwritten by new ones.
BOM stripping is left as a responsibility of the chunk provider.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rubygem-event_stream_parser | 1.0.0 |
| DragonFly | devel/rubygem-event_stream_parser | 1.0.0 |
Install
Binary package:
pkg install rubygem-event_stream_parser
From the ports tree:
cd /usr/ports/devel/rubygem-event_stream_parser/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rubygem-event_stream_parser>0:devel/rubygem-event_stream_parser
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.0.0 | 1.0.0 | - | 1.0.0 | 1.0.0 |
| FreeBSD:14:quarterly | 1.0.0 | 1.0.0 | n/a | 1.0.0 | 1.0.0 |
| FreeBSD:15:latest | 1.0.0 | 1.0.0 | n/a | 1.0.0 | 1.0.0 |
| FreeBSD:15:quarterly | 1.0.0 | 1.0.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.0 | 1.0.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 6
Run dependencies 6
Required by 2
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/event_stream_parser-1.0.0.gem | 8704 | a2683bab70126286f8184dc88f7968ffc4028f813161fb073ec90d171f7de3c8 |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.