eventsource
eventsource copied to clipboard
EventSource client for Node.js and Browser (polyfill)
And add `npm upgrade` to do it more easily in the future
The ssl tests are failing on Node 17 and 18. I think we need to create new certs. How to do this should be automated, or at least documented.
I set up a simple test where the following happens: 1. on client-side, we connect to the server with `EventSource`; 2. the server will start sending events, once every two...
I'm looking for a way to send a http request as a client to the server via post. My server only use post not get method. Example: curl https://....mynetworkprovider..../api/v3/events -X...
Fixes issue #326. When parsing a packet received from the server, the parser is restarting from the start of the packet when parsing each line, rather than starting from the...
v2.0.2. The server sent events spec states that lines must be terminated by LF, CR, or CRLF. In the case where the field is terminated by a CRLF and the...
I have defined a sse api like this using rust: ``` use actix_web::{App, HttpResponse, HttpServer, Responder, post, get}; use rust_wheel::common::util::net::{sse_stream::SseStream, sse_message::SSEMessage}; use std::time::{Duration, SystemTime}; use tokio::{ sync::mpsc::{UnboundedReceiver, UnboundedSender}, task, };...
Bumps [qs](https://github.com/ljharb/qs) from 6.7.0 to 6.11.0. Changelog Sourced from qs's changelog. 6.11.0 [New] [Fix] stringify: revert 0e903c0; add commaRoundTrip option (#442) [readme] fix version badge 6.10.5 [Fix] stringify: with arrayFormat:...
I stumbled across this issue when I tried to understand why `NODE_TLS_REJECT_UNAUTHORIZED` didn't work with this library. The following code will work as expected, and reject a self-signed TLS certificate....
Solves issue when uses with Msw library caused by this: [link](https://github.com/mswjs/interceptors/blob/main/src/interceptors/ClientRequest/utils/normalizeClientRequestArgs.ts#L122) Request headers are not sent when using the Msw library. Example: ```js const http = require('http') const parse =...