BSD Ports

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

SystemPortVersion
FreeBSDdevel/rubygem-event_stream_parser1.0.0
DragonFlydevel/rubygem-event_stream_parser1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.01.0.0-1.0.01.0.0
FreeBSD:14:quarterly1.0.01.0.0n/a1.0.01.0.0
FreeBSD:15:latest1.0.01.0.0n/a1.0.01.0.0
FreeBSD:15:quarterly1.0.01.0.0n/an/an/a
FreeBSD:16:latest1.0.01.0.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/event_stream_parser-1.0.0.gem8704a2683bab70126286f8184dc88f7968ffc4028f813161fb073ec90d171f7de3c8
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.