text: /**
   * Minified by jsDelivr using Terser v5.10.0.
   * Original file: /npm/@microsoft/signalr@6.0.1/dist/esm/DefaultHttpClient.js
   *
   * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
   */
  import{AbortError}from"./Errors";import{FetchHttpClient}from"./FetchHttpClient";import{HttpClient}from"./HttpClient";import{Platform}from"./Utils";import{XhrHttpClient}from"./XhrHttpClient";export class DefaultHttpClient extends HttpClient{constructor(t){if(super(),"undefined"!=typeof fetch||Platform.isNode)this._httpClient=new FetchHttpClient(t);else{if("undefined"==typeof XMLHttpRequest)throw new Error("No usable HttpClient found.");this._httpClient=new XhrHttpClient(t)}}send(t){return t.abortSignal&&t.abortSignal.aborted?Promise.reject(new AbortError):t.method?t.url?this._httpClient.send(t):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}getCookieString(t){return this._httpClient.getCookieString(t)}}
  //# sourceMappingURL=/sm/ee5dbbfcefccaa94c71e8cb047ba868b6532130ab4c628c93d0a2ad0d3ffc19c.map