Interface: EventSourceProviderOptions
Defined in: providers/event-source.ts:18
The options for eventSourceProvider.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
EventSource? | readonly | EventSourceConstructor | The EventSource constructor. The default is globalThis.EventSource. | providers/event-source.ts:24 |
name? | readonly | string | The provider name. The default is 'sse'. | providers/event-source.ts:26 |
url | readonly | string | The URL of the event stream. | providers/event-source.ts:20 |
withCredentials? | readonly | boolean | Send cookies with the request. The default is false. | providers/event-source.ts:22 |