Hi, thanks for the great module and the accompanying JS library.
Right now it is not possible to initiate an EventSource connection with the withCredentials: true parameter.
The line 673 looks like this
this.listener = new EventSource(url);
Since the CORS intent must be indicated in the constructor and not later, it must be solved on this line.
this.listener = new EventSource(url, { withCredentials: true });
Users would probably want to have a choice, so maybe pass it through the opt array?
Thank you.
Hi, thanks for the great module and the accompanying JS library.
Right now it is not possible to initiate an
EventSourceconnection with thewithCredentials: trueparameter.The line 673 looks like this
Since the CORS intent must be indicated in the constructor and not later, it must be solved on this line.
Users would probably want to have a choice, so maybe pass it through the
optarray?Thank you.