â–¸ createEventSource(url): undefined | EventSource
description Create a EventSource Instance
remark supported jssdk >= 4.43.0
remark must apply the permission of createEventSource (ENABLE_NETWORK_SSE) for the
mini-program
remark not support EventSource's configuration options yet
remark mdn https://developer.mozilla.org/en-US/docs/Web/API/EventSource
example
Code
Parameters
| Name | Type |
|---|---|
url | string |
Returns
undefined | EventSource
Was this page helpful?
Last modified on