sse-express
sse-express copied to clipboard
README.md typo
Hi, first it says:
res.sse({ event: 'connected', data: { welcomeMsg: 'Hello world!' } } );
But then, the API says:
res.sse({data, [event], [id]} | Array<{data, [event], [id]}>)
Could you please fix the typo?
@maulberto3 Seems that the example is good actually
@gjuchault Oh, I just thought that the order mattered. Thank you.