Core
EventStreamOpenInfo
Metadata available once an SSE response has opened.
@defjs/core · Type
Signature
interface EventStreamOpenInfo { response: HttpResponse<unknown>; url: string; }
response is the handshake response and url is the resolved request URL. It is the third element of a successful event-stream result and the value of EventStreamHandle.open.
Members
Prop
Type
response HttpResponse<unknown>url string