Closed r0man closed 6 months ago
This adds support for the application/x-ndjson media type.
It can be used in a similar way as the text/event-stream media type, by creating a media type object and register an event handler.
Here is an example from the tests:
https://github.com/r0man/plz.el/blob/plz-media-type/tests/test-plz-media-type.el#L175
This adds support for the application/x-ndjson media type.
It can be used in a similar way as the text/event-stream media type, by creating a media type object and register an event handler.
Here is an example from the tests:
https://github.com/r0man/plz.el/blob/plz-media-type/tests/test-plz-media-type.el#L175