(source: globalThis.XMLHttpRequest, onError: (error: unknown) => E)
| 214 | readonly onError: (error: unknown) => E |
| 215 | |
| 216 | constructor(source: globalThis.XMLHttpRequest, onError: (error: unknown) => E) { |
| 217 | super() |
| 218 | this[HttpIncomingMessage.TypeId] = HttpIncomingMessage.TypeId |
| 219 | this.source = source |
| 220 | this.onError = onError |
| 221 | this._rawHeaderString = source.getAllResponseHeaders() |
| 222 | } |
| 223 | |
| 224 | private _rawHeaderString: string |
| 225 | private _rawHeaders: Record<string, string | Array<string>> | undefined |
nothing calls this directly
no outgoing calls
no test coverage detected