EventSourceInit Class
The initialization dictionary of an EventSource (https://html.spec.whatwg.org/multipage/server-sent-events.html#eventsourceinit).
public sealed class EventSourceInitConstructors
| Name | Description |
|---|---|
| EventSourceInit() |
EventSourceInit()
public EventSourceInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| WithCredentials | Gets whether the credentials mode of the requests is "include" (the cookies are sent to another origin). The default is false. |
WithCredentials
EventSource.csGets whether the credentials mode of the requests is "include" (the cookies are sent to another origin). The default is false.
public bool WithCredentials { get; init; }