PwithCredentials
Bun

property

EventSource.withCredentials

readonly withCredentials: boolean

Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise.

MDN Reference