A simple React hook for Server-Sent Events with the key feature that native EventSource lacks: custom headers support. Perfect for authenticated Server-Sent Events, API keys, and any scenario where ...
For more advanced usage, see the example/ directory. Creating a new EventSource client is as easy as a single call. The http package is used under the hood, so wherever this package works, this ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果