EventSourceInit Class

The initialization dictionary of an EventSource (https://html.spec.whatwg.org/multipage/server-sent-events.html#eventsourceinit).

public sealed class EventSourceInit

Constructors

NameDescription
EventSourceInit()

EventSourceInit()

public EventSourceInit()

No documentation is available.

Properties

NameDescription
WithCredentialsGets whether the credentials mode of the requests is "include" (the cookies are sent to another origin). The default is false.

WithCredentials

EventSource.cs

Gets 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; }