diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-11-14 20:57:08 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-11-14 21:19:26 +0000 |
commit | 170cb208782b18feccb96acef5176e604df07569 (patch) | |
tree | 26887f4142dbe9451c11a7e55a761960e6f09264 /devel/rubygem-event_stream_parser0/pkg-descr | |
parent | 0bdd7733a7a8c94027d28228d162c874b57ed442 (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-descr | 12 |
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. |