我在哪里可以找到 Node 的 SignalR 核心 polyfill
Where I can found the SignalR core polyfills for Node
在 SignalR npm package 中说,为了从 Node 使用我们应该包含一些 polyfills
The following polyfills are required to use the client in Node.js applications:
XmlHttpRequest
- always
WebSockets
- to use the WebSockets transport
EventSource
- to use the ServerSentEvents transport
btoa/atob
- to use binary protocols (e.g. MessagePack) over text transports (ServerSentEvents)
问题是,有人 link 那些 polyfill 吗?
供将来参考:
答案好像是here
在 SignalR npm package 中说,为了从 Node 使用我们应该包含一些 polyfills
The following polyfills are required to use the client in Node.js applications:
XmlHttpRequest
- always
WebSockets
- to use the WebSockets transport
EventSource
- to use the ServerSentEvents transport
btoa/atob
- to use binary protocols (e.g. MessagePack) over text transports (ServerSentEvents)
问题是,有人 link 那些 polyfill 吗?
供将来参考:
答案好像是here