Answer the question
In order to leave comments, you need to log in
EventStream empty though events come?
Tested in different ways
// const event = new EventSource(url);
// const event = new EventSource(url, {withCredentials: true});
let mercureToken = 'Bearer ' + Cookies.get("mercureAuthorization");
const event = new EventSourcePolyfill(
url,
{
heartbeatTimeout: 3600*1000,
headers: {
'Authorization': mercureToken,
},
},
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question