aboutsummaryrefslogtreecommitdiff
path: root/devel/rubygem-event_stream_parser0/pkg-descr
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-11-14 20:57:08 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-11-14 21:19:26 +0000
commit170cb208782b18feccb96acef5176e604df07569 (patch)
tree26887f4142dbe9451c11a7e55a761960e6f09264 /devel/rubygem-event_stream_parser0/pkg-descr
parent0bdd7733a7a8c94027d28228d162c874b57ed442 (diff)
devel/rubygem-event_stream_parser0: Add rubygem-event_stream_parser0 0.3.0 (copied from rubygem-event_stream_parser)
- Add PORTSCOUT
Diffstat (limited to 'devel/rubygem-event_stream_parser0/pkg-descr')
-rw-r--r--devel/rubygem-event_stream_parser0/pkg-descr12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/rubygem-event_stream_parser0/pkg-descr b/devel/rubygem-event_stream_parser0/pkg-descr
new file mode 100644
index 000000000000..863bf4e0d443
--- /dev/null
+++ b/devel/rubygem-event_stream_parser0/pkg-descr
@@ -0,0 +1,12 @@
+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.