Skip to content

Interface: EventSourceProviderOptions ​

Defined in: providers/event-source.ts:18

The options for eventSourceProvider.

Properties ​

PropertyModifierTypeDescriptionDefined in
EventSource?readonlyEventSourceConstructorThe EventSource constructor. The default is globalThis.EventSource.providers/event-source.ts:24
name?readonlystringThe provider name. The default is 'sse'.providers/event-source.ts:26
urlreadonlystringThe URL of the event stream.providers/event-source.ts:20
withCredentials?readonlybooleanSend cookies with the request. The default is false.providers/event-source.ts:22