{"name":"aurelia-http-client","children":[{"id":158,"name":"ErrorHttpResponseMessage","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents an error like object response message from an HTTP or JSONP request."},"children":[{"id":161,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Instanciate a new error response message\nErrorHttpResponseMessage instanceof Error is false but with two members 'name' and 'message' we have an error like object"},"signatures":[{"id":162,"name":"new ErrorHttpResponseMessage","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Instanciate a new error response message\nErrorHttpResponseMessage instanceof Error is false but with two members 'name' and 'message' we have an error like object"},"parameters":[{"id":163,"name":"responseMessage","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"response message\n"},"type":{"type":"reference","name":"HttpResponseMessage","id":89}}],"type":{"type":"reference","name":"ErrorHttpResponseMessage","id":158},"overwrites":{"type":"reference","name":"HttpResponseMessage.__constructor","id":103}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":459,"character":18}],"overwrites":{"type":"reference","name":"HttpResponseMessage.__constructor","id":103}},{"id":177,"name":"content","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Gets the content of the response.","tags":[{"tag":"returns","text":"the response content.\n"}]},"sources":[{"fileName":"aurelia-http-client.d.ts","line":292,"character":9}],"type":{"type":"instrinct","name":"any"},"inheritedFrom":{"type":"reference","name":"HttpResponseMessage.content","id":113}},{"id":176,"name":"headers","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The headers received with the response."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":277,"character":9}],"type":{"type":"reference","name":"Headers","id":52},"inheritedFrom":{"type":"reference","name":"HttpResponseMessage.headers","id":102}},{"id":168,"name":"isSuccess","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The success status of the request based on status code."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":257,"character":11}],"type":{"type":"instrinct","name":"boolean"},"inheritedFrom":{"type":"reference","name":"HttpResponseMessage.isSuccess","id":94}},{"id":160,"name":"message","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Error like message"},"sources":[{"fileName":"aurelia-http-client.d.ts","line":459,"character":9}],"type":{"type":"instrinct","name":"string"}},{"id":175,"name":"mimeType","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The mime type of the response."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":272,"character":10}],"type":{"type":"instrinct","name":"string"},"inheritedFrom":{"type":"reference","name":"HttpResponseMessage.mimeType","id":101}},{"id":159,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Error like name"},"sources":[{"fileName":"aurelia-http-client.d.ts","line":454,"character":6}],"type":{"type":"instrinct","name":"string"}},{"id":164,"name":"requestMessage","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The request message that resulted in this response."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":237,"character":16}],"type":{"type":"reference","name":"RequestMessage","id":74},"inheritedFrom":{"type":"reference","name":"HttpResponseMessage.requestMessage","id":90}},{"id":166,"name":"response","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The raw response."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":247,"character":10}],"type":{"type":"instrinct","name":"any"},"inheritedFrom":{"type":"reference","name":"HttpResponseMessage.response","id":92}},{"id":167,"name":"responseType","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The type of the response."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":252,"character":14}],"type":{"type":"instrinct","name":"string"},"inheritedFrom":{"type":"reference","name":"HttpResponseMessage.responseType","id":93}},{"id":170,"name":"reviver","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A reviver function to use in transforming the content."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":267,"character":9}],"type":{"type":"reflection","declaration":{"id":171,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":172,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":173,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}},{"id":174,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":267,"character":10}]}},"inheritedFrom":{"type":"reference","name":"HttpResponseMessage.reviver","id":96}},{"id":165,"name":"statusCode","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The status code of the response."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":242,"character":12}],"type":{"type":"instrinct","name":"number"},"inheritedFrom":{"type":"reference","name":"HttpResponseMessage.statusCode","id":91}},{"id":169,"name":"statusText","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The status text."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":262,"character":12}],"type":{"type":"instrinct","name":"string"},"inheritedFrom":{"type":"reference","name":"HttpResponseMessage.statusText","id":95}}],"groups":[{"title":"Constructors","kind":512,"children":[161]},{"title":"Properties","kind":1024,"children":[177,176,168,160,175,159,164,166,167,170,165,169]}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":449,"character":45}],"extendedTypes":[{"type":"reference","name":"HttpResponseMessage","id":89}]},{"id":52,"name":"Headers","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents http request/response headers."},"children":[{"id":53,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the headers class."},"signatures":[{"id":54,"name":"new Headers","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of the headers class."},"parameters":[{"id":55,"name":"headers","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"A set of key/values to initialize the headers with.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"Headers","id":52}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":127,"character":30}]},{"id":56,"name":"add","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":57,"name":"add","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a header."},"parameters":[{"id":58,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The header key."},"type":{"type":"instrinct","name":"string"}},{"id":59,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The header value.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":140,"character":5}]},{"id":63,"name":"clear","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":64,"name":"clear","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Clears the headers."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":152,"character":7}]},{"id":68,"name":"configureXHR","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":69,"name":"configureXHR","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures an XMR object with the headers."},"parameters":[{"id":70,"name":"xhr","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The XHRT instance to configure.\n"},"type":{"type":"reference","name":"XHR","id":3}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":165,"character":14}]},{"id":60,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":61,"name":"get","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a header value.","returns":"The header value.\n"},"parameters":[{"id":62,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The header key."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":147,"character":5}]},{"id":65,"name":"has","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":66,"name":"has","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Determines whether or not the indicated header exists in the collection.","returns":"True if it exists, false otherwise.\n"},"parameters":[{"id":67,"name":"header","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The header key to check."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"boolean"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":159,"character":5}]},{"id":71,"name":"parse","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":72,"name":"parse","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"XmlHttpRequest's getAllResponseHeaders() method returns a string of response\nheaders according to the format described here:\nhttp://www.w3.org/TR/XMLHttpRequest/#the-getallresponseheaders-method\nThis method parses that string into a user-friendly key/value pair object.","returns":"A Headers instance containing the parsed headers.\n"},"parameters":[{"id":73,"name":"headerStr","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The string from the XHR."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Headers","id":52}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":175,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[53]},{"title":"Methods","kind":2048,"children":[56,63,68,60,65,71]}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":127,"character":28}]},{"id":266,"name":"HttpClient","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"The main HTTP client object."},"children":[{"id":269,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of HttpClient."},"signatures":[{"id":270,"name":"new HttpClient","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of HttpClient."},"type":{"type":"reference","name":"HttpClient","id":266}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":677,"character":24}]},{"id":268,"name":"isRequesting","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether or not the client is in the process of requesting resources."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":677,"character":14}],"type":{"type":"instrinct","name":"boolean"}},{"id":267,"name":"rejectPromiseWithErrorObject","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Return true if promises are rejected with an error like object. Default false"},"sources":[{"fileName":"aurelia-http-client.d.ts","line":672,"character":30}],"type":{"type":"instrinct","name":"boolean"}},{"id":271,"name":"configure","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":272,"name":"configure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configure this HttpClient with default settings to be used by all requests."},"parameters":[{"id":273,"name":"fn","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A function that takes a RequestBuilder as an argument.\n"},"type":{"type":"reflection","declaration":{"id":274,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":275,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":276,"name":"builder","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RequestBuilder","id":178}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":688,"character":15}]}}}],"type":{"type":"reference","name":"HttpClient","id":266}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":688,"character":11}]},{"id":277,"name":"createRequest","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":278,"name":"createRequest","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a new RequestBuilder for this HttpClient instance that can be used to build and send HTTP requests."},"parameters":[{"id":279,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The target URL.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":694,"character":15}]},{"id":284,"name":"delete","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":285,"name":"delete","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sends an HTTP DELETE request.","returns":"A cancellable promise object.\n"},"parameters":[{"id":286,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The target URL."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HttpResponseMessage","id":89}]}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":709,"character":8}]},{"id":287,"name":"get","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":288,"name":"get","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sends an HTTP GET request.","returns":"A cancellable promise object.\n"},"parameters":[{"id":289,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The target URL."},"type":{"type":"instrinct","name":"string"}},{"id":290,"name":"params","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"Object"}},{"id":291,"name":"traditional","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HttpResponseMessage","id":89}]}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":716,"character":5}]},{"id":292,"name":"head","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":293,"name":"head","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sends an HTTP HEAD request.","returns":"A cancellable promise object.\n"},"parameters":[{"id":294,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The target URL."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HttpResponseMessage","id":89}]}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":723,"character":6}]},{"id":295,"name":"jsonp","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":296,"name":"jsonp","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sends a JSONP request.","returns":"A cancellable promise object.\n"},"parameters":[{"id":297,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The target URL."},"type":{"type":"instrinct","name":"string"}},{"id":298,"name":"callbackParameterName","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HttpResponseMessage","id":89}]}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":730,"character":7}]},{"id":299,"name":"options","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":300,"name":"options","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sends an HTTP OPTIONS request.","returns":"A cancellable promise object.\n"},"parameters":[{"id":301,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The target URL."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HttpResponseMessage","id":89}]}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":737,"character":9}]},{"id":306,"name":"patch","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":307,"name":"patch","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sends an HTTP PATCH request.","returns":"A cancellable promise object.\n"},"parameters":[{"id":308,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The target URL."},"type":{"type":"instrinct","name":"string"}},{"id":309,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request payload."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HttpResponseMessage","id":89}]}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":753,"character":7}]},{"id":310,"name":"post","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":311,"name":"post","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sends an HTTP POST request.","returns":"A cancellable promise object.\n"},"parameters":[{"id":312,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The target URL."},"type":{"type":"instrinct","name":"string"}},{"id":313,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request payload."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HttpResponseMessage","id":89}]}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":761,"character":6}]},{"id":302,"name":"put","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":303,"name":"put","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sends an HTTP PUT request.","returns":"A cancellable promise object.\n"},"parameters":[{"id":304,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The target URL."},"type":{"type":"instrinct","name":"string"}},{"id":305,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request payload."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HttpResponseMessage","id":89}]}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":745,"character":5}]},{"id":280,"name":"send","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":281,"name":"send","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sends a message using the underlying networking stack.","returns":"A cancellable promise object.\n"},"parameters":[{"id":282,"name":"requestMessage","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RequestMessage","id":74}},{"id":283,"name":"transformers","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A collection of transformers to apply to the HTTP request."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"RequestTransformer","id":47}]}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HttpResponseMessage","id":89}]}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":702,"character":6}]}],"groups":[{"title":"Constructors","kind":512,"children":[269]},{"title":"Properties","kind":1024,"children":[268,267]},{"title":"Methods","kind":2048,"children":[271,277,284,287,292,295,299,306,310,302,280]}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":667,"character":31}]},{"id":138,"name":"HttpRequestMessage","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents an HTTP request message."},"children":[{"id":144,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of HttpRequestMessage."},"signatures":[{"id":145,"name":"new HttpRequestMessage","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of HttpRequestMessage."},"parameters":[{"id":146,"name":"method","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The http method."},"type":{"type":"instrinct","name":"string"}},{"id":147,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The url to submit the request to."},"type":{"type":"instrinct","name":"string"}},{"id":148,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The content of the request."},"type":{"type":"instrinct","name":"any"}},{"id":149,"name":"headers","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The headers to send along with the request.\n"},"type":{"type":"reference","name":"Headers","id":52}}],"type":{"type":"reference","name":"HttpRequestMessage","id":138},"overwrites":{"type":"reference","name":"RequestMessage.__constructor","id":81}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":428,"character":47}],"overwrites":{"type":"reference","name":"RequestMessage.__constructor","id":81}},{"id":155,"name":"baseUrl","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The base url that the request url is joined with."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":211,"character":9}],"type":{"type":"instrinct","name":"string"},"inheritedFrom":{"type":"reference","name":"RequestMessage.baseUrl","id":80}},{"id":152,"name":"content","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The content of the request."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":196,"character":9}],"type":{"type":"instrinct","name":"any"},"inheritedFrom":{"type":"reference","name":"RequestMessage.content","id":77}},{"id":153,"name":"headers","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The headers to send along with the request."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":201,"character":9}],"type":{"type":"reference","name":"Headers","id":52},"inheritedFrom":{"type":"reference","name":"RequestMessage.headers","id":78}},{"id":150,"name":"method","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The HTTP method."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":186,"character":8}],"type":{"type":"instrinct","name":"string"},"inheritedFrom":{"type":"reference","name":"RequestMessage.method","id":75}},{"id":139,"name":"replacer","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A replacer function to use in transforming the content."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":428,"character":10}],"type":{"type":"reflection","declaration":{"id":140,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":141,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":142,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}},{"id":143,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":428,"character":11}]}}},{"id":154,"name":"traditional","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Use tradional style for param serialization."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":206,"character":13}],"type":{"type":"instrinct","name":"boolean"},"inheritedFrom":{"type":"reference","name":"RequestMessage.traditional","id":79}},{"id":151,"name":"url","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The url to submit the request to."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":191,"character":5}],"type":{"type":"instrinct","name":"string"},"inheritedFrom":{"type":"reference","name":"RequestMessage.url","id":76}},{"id":156,"name":"buildFullUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":157,"name":"buildFullUrl","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Builds the url to make the request from.","returns":"The constructed url.\n"},"type":{"type":"instrinct","name":"string"},"inheritedFrom":{"type":"reference","name":"RequestMessage.buildFullUrl","id":87}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":226,"character":14}],"inheritedFrom":{"type":"reference","name":"RequestMessage.buildFullUrl","id":87}}],"groups":[{"title":"Constructors","kind":512,"children":[144]},{"title":"Properties","kind":1024,"children":[155,152,153,150,139,154,151]},{"title":"Methods","kind":2048,"children":[156]}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":423,"character":39}],"extendedTypes":[{"type":"reference","name":"RequestMessage","id":74}]},{"id":89,"name":"HttpResponseMessage","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a response message from an HTTP or JSONP request."},"children":[{"id":103,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of HttpResponseMessage."},"signatures":[{"id":104,"name":"new HttpResponseMessage","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of HttpResponseMessage."},"parameters":[{"id":105,"name":"requestMessage","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The request message that resulted in this response."},"type":{"type":"reference","name":"RequestMessage","id":74}},{"id":106,"name":"xhr","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The XHR instance that made the request."},"type":{"type":"reference","name":"XHR","id":3}},{"id":107,"name":"responseType","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The type of the response."},"type":{"type":"instrinct","name":"string"}},{"id":108,"name":"reviver","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reflection","declaration":{"id":109,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":110,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":111,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}},{"id":112,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":286,"character":87}]}}}],"type":{"type":"reference","name":"HttpResponseMessage","id":89}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":277,"character":19}]},{"id":113,"name":"content","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Gets the content of the response.","tags":[{"tag":"returns","text":"the response content.\n"}]},"sources":[{"fileName":"aurelia-http-client.d.ts","line":292,"character":9}],"type":{"type":"instrinct","name":"any"}},{"id":102,"name":"headers","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The headers received with the response."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":277,"character":9}],"type":{"type":"reference","name":"Headers","id":52}},{"id":94,"name":"isSuccess","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The success status of the request based on status code."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":257,"character":11}],"type":{"type":"instrinct","name":"boolean"}},{"id":101,"name":"mimeType","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The mime type of the response."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":272,"character":10}],"type":{"type":"instrinct","name":"string"}},{"id":90,"name":"requestMessage","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The request message that resulted in this response."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":237,"character":16}],"type":{"type":"reference","name":"RequestMessage","id":74}},{"id":92,"name":"response","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The raw response."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":247,"character":10}],"type":{"type":"instrinct","name":"any"}},{"id":93,"name":"responseType","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The type of the response."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":252,"character":14}],"type":{"type":"instrinct","name":"string"}},{"id":96,"name":"reviver","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A reviver function to use in transforming the content."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":267,"character":9}],"type":{"type":"reflection","declaration":{"id":97,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":98,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":99,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}},{"id":100,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":267,"character":10}]}}},{"id":91,"name":"statusCode","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The status code of the response."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":242,"character":12}],"type":{"type":"instrinct","name":"number"}},{"id":95,"name":"statusText","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The status text."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":262,"character":12}],"type":{"type":"instrinct","name":"string"}}],"groups":[{"title":"Constructors","kind":512,"children":[103]},{"title":"Properties","kind":1024,"children":[113,102,94,101,90,92,93,96,91,95]}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":232,"character":40}],"extendedBy":[{"type":"reference","name":"ErrorHttpResponseMessage","id":158}]},{"id":125,"name":"JSONPRequestMessage","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents an JSONP request message."},"children":[{"id":126,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of JSONPRequestMessage."},"signatures":[{"id":127,"name":"new JSONPRequestMessage","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of JSONPRequestMessage."},"parameters":[{"id":128,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The url to submit the request to."},"type":{"type":"instrinct","name":"string"}},{"id":129,"name":"callbackParameterName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the callback parameter that the api expects.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"JSONPRequestMessage","id":125},"overwrites":{"type":"reference","name":"RequestMessage.__constructor","id":81}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":404,"character":65}],"overwrites":{"type":"reference","name":"RequestMessage.__constructor","id":81}},{"id":135,"name":"baseUrl","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The base url that the request url is joined with."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":211,"character":9}],"type":{"type":"instrinct","name":"string"},"inheritedFrom":{"type":"reference","name":"RequestMessage.baseUrl","id":80}},{"id":132,"name":"content","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The content of the request."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":196,"character":9}],"type":{"type":"instrinct","name":"any"},"inheritedFrom":{"type":"reference","name":"RequestMessage.content","id":77}},{"id":133,"name":"headers","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The headers to send along with the request."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":201,"character":9}],"type":{"type":"reference","name":"Headers","id":52},"inheritedFrom":{"type":"reference","name":"RequestMessage.headers","id":78}},{"id":130,"name":"method","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The HTTP method."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":186,"character":8}],"type":{"type":"instrinct","name":"string"},"inheritedFrom":{"type":"reference","name":"RequestMessage.method","id":75}},{"id":134,"name":"traditional","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Use tradional style for param serialization."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":206,"character":13}],"type":{"type":"instrinct","name":"boolean"},"inheritedFrom":{"type":"reference","name":"RequestMessage.traditional","id":79}},{"id":131,"name":"url","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The url to submit the request to."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":191,"character":5}],"type":{"type":"instrinct","name":"string"},"inheritedFrom":{"type":"reference","name":"RequestMessage.url","id":76}},{"id":136,"name":"buildFullUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":137,"name":"buildFullUrl","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Builds the url to make the request from.","returns":"The constructed url.\n"},"type":{"type":"instrinct","name":"string"},"inheritedFrom":{"type":"reference","name":"RequestMessage.buildFullUrl","id":87}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":226,"character":14}],"inheritedFrom":{"type":"reference","name":"RequestMessage.buildFullUrl","id":87}}],"groups":[{"title":"Constructors","kind":512,"children":[126]},{"title":"Properties","kind":1024,"children":[135,132,133,130,134,131]},{"title":"Methods","kind":2048,"children":[136]}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":404,"character":40}],"extendedTypes":[{"type":"reference","name":"RequestMessage","id":74}]},{"id":178,"name":"RequestBuilder","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A builder class allowing fluent composition of HTTP requests."},"children":[{"id":180,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of RequestBuilder"},"signatures":[{"id":181,"name":"new RequestBuilder","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of RequestBuilder"},"parameters":[{"id":182,"name":"client","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"An instance of HttpClient\n"},"type":{"type":"reference","name":"HttpClient","id":266}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":480,"character":21}]},{"id":179,"name":"client","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The HttpClient instance."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":480,"character":8}],"type":{"type":"reference","name":"HttpClient","id":266}},{"id":183,"name":"asDelete","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":184,"name":"asDelete","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Makes the request a DELETE request.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":492,"character":10}]},{"id":185,"name":"asGet","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":186,"name":"asGet","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Makes the request a GET request.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":498,"character":7}]},{"id":187,"name":"asHead","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":188,"name":"asHead","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Makes the request a HEAD request.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":504,"character":8}]},{"id":197,"name":"asJsonp","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":198,"name":"asJsonp","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Makes the request a JSONP request.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":199,"name":"callbackParameterName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the callback to use."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":535,"character":9}]},{"id":189,"name":"asOptions","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":190,"name":"asOptions","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Makes the request a OPTIONS request.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":510,"character":11}]},{"id":191,"name":"asPatch","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":192,"name":"asPatch","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Makes the request a PATCH request.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":516,"character":9}]},{"id":193,"name":"asPost","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":194,"name":"asPost","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Makes the request a POST request.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":522,"character":8}]},{"id":195,"name":"asPut","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":196,"name":"asPut","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Makes the request a PUT request.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":528,"character":7}]},{"id":264,"name":"send","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":265,"name":"send","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sends the request.","returns":"A cancellable promise object.\n"},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HttpResponseMessage","id":89}]}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":661,"character":6}]},{"id":256,"name":"skipContentProcessing","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":257,"name":"skipContentProcessing","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Skips the request content processing transform.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":648,"character":23}]},{"id":206,"name":"withBaseUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":207,"name":"withBaseUrl","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the base url that will be prepended to the url.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":208,"name":"baseUrl","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The base url to use."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":556,"character":13}]},{"id":250,"name":"withCallbackParameterName","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":251,"name":"withCallbackParameterName","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets a callback parameter name for JSONP.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":252,"name":"callbackParameterName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the callback parameter that the JSONP request requires."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":635,"character":27}]},{"id":203,"name":"withContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":204,"name":"withContent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the request content.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":205,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":549,"character":13}]},{"id":223,"name":"withCredentials","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":224,"name":"withCredentials","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the withCredentials flag on the request.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":225,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value of the withCredentials flag to set."},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":592,"character":17}]},{"id":247,"name":"withDownloadProgressCallback","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":248,"name":"withDownloadProgressCallback","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets an download progress callback.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":249,"name":"downloadProgressCallback","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":628,"character":30}]},{"id":219,"name":"withHeader","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":220,"name":"withHeader","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets a header on the request.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":221,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The header key to add."},"type":{"type":"instrinct","name":"string"}},{"id":222,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The header value to add."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":585,"character":12}]},{"id":253,"name":"withInterceptor","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":254,"name":"withInterceptor","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds an interceptor to the request.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":255,"name":"interceptor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The interceptor to add."},"type":{"type":"reference","name":"Interceptor","id":30}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":642,"character":17}]},{"id":226,"name":"withLogin","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":227,"name":"withLogin","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the user and password to use in opening the request.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":228,"name":"user","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The username to send."},"type":{"type":"instrinct","name":"string"}},{"id":229,"name":"password","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The password to send."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":600,"character":11}]},{"id":209,"name":"withParams","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":210,"name":"withParams","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets params that will be added to the request url as a query string.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":211,"name":"params","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The key/value pairs to use to build the query string."},"type":{"type":"reference","name":"Object"}},{"id":212,"name":"traditional","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":563,"character":12}]},{"id":244,"name":"withProgressCallback","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":245,"name":"withProgressCallback","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets an upload progress callback.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":246,"name":"progressCallback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The progress callback function."},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":621,"character":22}]},{"id":237,"name":"withReplacer","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":238,"name":"withReplacer","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets a replacer to transform the request content.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":239,"name":"replacer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The replacer to use in preparing the request."},"type":{"type":"reflection","declaration":{"id":240,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":241,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":242,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}},{"id":243,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":614,"character":24}]}}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":614,"character":14}]},{"id":213,"name":"withResponseType","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":214,"name":"withResponseType","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the response type.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":215,"name":"responseType","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The response type to expect."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":570,"character":18}]},{"id":230,"name":"withReviver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":231,"name":"withReviver","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets a reviver to transform the response content.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":232,"name":"reviver","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The reviver to use in processing the response."},"type":{"type":"reflection","declaration":{"id":233,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":234,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":235,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}},{"id":236,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":607,"character":22}]}}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":607,"character":13}]},{"id":216,"name":"withTimeout","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":217,"name":"withTimeout","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets a timeout for the request.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":218,"name":"timeout","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The timeout for the request."},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":577,"character":13}]},{"id":200,"name":"withUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":201,"name":"withUrl","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the request url.","returns":"The chainable RequestBuilder to use in further configuration of the request.\n"},"parameters":[{"id":202,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The url to use."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"RequestBuilder","id":178}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":542,"character":9}]},{"id":258,"name":"addHelper","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":259,"name":"addHelper","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a user-defined request transformer to the RequestBuilder."},"parameters":[{"id":260,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the helper to add."},"type":{"type":"instrinct","name":"string"}},{"id":261,"name":"fn","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The helper function.\n"},"type":{"type":"reflection","declaration":{"id":262,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":263,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"RequestTransformer","id":47}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":655,"character":36}]}}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":655,"character":18}]}],"groups":[{"title":"Constructors","kind":512,"children":[180]},{"title":"Properties","kind":1024,"children":[179]},{"title":"Methods","kind":2048,"children":[183,185,187,197,189,191,193,195,264,256,206,250,203,223,247,219,253,226,209,244,237,213,230,216,200,258]}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":475,"character":35}]},{"id":74,"name":"RequestMessage","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a request message."},"children":[{"id":81,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of RequestMessage."},"signatures":[{"id":82,"name":"new RequestMessage","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of RequestMessage."},"parameters":[{"id":83,"name":"method","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The HTTP method."},"type":{"type":"instrinct","name":"string"}},{"id":84,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The url to submit the request to."},"type":{"type":"instrinct","name":"string"}},{"id":85,"name":"content","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The content of the request."},"type":{"type":"instrinct","name":"any"}},{"id":86,"name":"headers","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The headers to send along with the request.\n"},"type":{"type":"reference","name":"Headers","id":52}}],"type":{"type":"reference","name":"RequestMessage","id":74}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":211,"character":18}]},{"id":80,"name":"baseUrl","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The base url that the request url is joined with."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":211,"character":9}],"type":{"type":"instrinct","name":"string"}},{"id":77,"name":"content","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The content of the request."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":196,"character":9}],"type":{"type":"instrinct","name":"any"}},{"id":78,"name":"headers","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The headers to send along with the request."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":201,"character":9}],"type":{"type":"reference","name":"Headers","id":52}},{"id":75,"name":"method","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The HTTP method."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":186,"character":8}],"type":{"type":"instrinct","name":"string"}},{"id":79,"name":"traditional","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Use tradional style for param serialization."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":206,"character":13}],"type":{"type":"instrinct","name":"boolean"}},{"id":76,"name":"url","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The url to submit the request to."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":191,"character":5}],"type":{"type":"instrinct","name":"string"}},{"id":87,"name":"buildFullUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":88,"name":"buildFullUrl","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Builds the url to make the request from.","returns":"The constructed url.\n"},"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":226,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[81]},{"title":"Properties","kind":1024,"children":[80,77,78,75,79,76]},{"title":"Methods","kind":2048,"children":[87]}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":181,"character":35}],"extendedBy":[{"type":"reference","name":"JSONPRequestMessage","id":125},{"type":"reference","name":"HttpRequestMessage","id":138}]},{"id":114,"name":"RequestMessageProcessor","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Processes request messages."},"children":[{"id":115,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of RequestMessageProcessor."},"signatures":[{"id":116,"name":"new RequestMessageProcessor","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of RequestMessageProcessor."},"parameters":[{"id":117,"name":"xhrType","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"XHRConstructor","id":2}},{"id":118,"name":"xhrTransformers","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","isArray":true,"name":"XHRTransformer","id":24}}],"type":{"type":"reference","name":"RequestMessageProcessor","id":114}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":308,"character":46}]},{"id":119,"name":"abort","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":120,"name":"abort","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Aborts the request."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":318,"character":7}]},{"id":121,"name":"process","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":122,"name":"process","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Processes the request.","returns":"A promise for an HttpResponseMessage.\n"},"parameters":[{"id":123,"name":"client","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HttpClient making the request."},"type":{"type":"reference","name":"HttpClient","id":266}},{"id":124,"name":"requestMessage","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The message to process."},"type":{"type":"reference","name":"RequestMessage","id":74}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HttpResponseMessage","id":89}]}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":326,"character":9}]}],"groups":[{"title":"Constructors","kind":512,"children":[115]},{"title":"Methods","kind":2048,"children":[119,121]}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":308,"character":44}]},{"id":30,"name":"Interceptor","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Intercepts requests, responses and errors."},"children":[{"id":39,"name":"request","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Intercepts the request."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":106,"character":9}],"type":{"type":"reflection","declaration":{"id":40,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":41,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":42,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RequestMessage","id":74}}],"type":{"type":"union","types":[{"type":"reference","name":"RequestMessage","id":74},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"RequestMessage","id":74}]}]}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":106,"character":11}]}}},{"id":43,"name":"requestError","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Intercepts a request error."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":111,"character":14}],"type":{"type":"reflection","declaration":{"id":44,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":45,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":46,"name":"error","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Error"}}],"type":{"type":"union","types":[{"type":"reference","name":"RequestMessage","id":74},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"RequestMessage","id":74}]}]}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":111,"character":16}]}}},{"id":31,"name":"response","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Intercepts the response."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":96,"character":10}],"type":{"type":"reflection","declaration":{"id":32,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":33,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":34,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"HttpResponseMessage","id":89}}],"type":{"type":"union","types":[{"type":"reference","name":"HttpResponseMessage","id":89},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HttpResponseMessage","id":89}]}]}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":96,"character":12}]}}},{"id":35,"name":"responseError","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Intercepts a response error."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":101,"character":15}],"type":{"type":"reflection","declaration":{"id":36,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":37,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":38,"name":"error","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"HttpResponseMessage","id":89}}],"type":{"type":"union","types":[{"type":"reference","name":"HttpResponseMessage","id":89},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"HttpResponseMessage","id":89}]}]}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":101,"character":17}]}}}],"groups":[{"title":"Properties","kind":1024,"children":[39,43,31,35]}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":91,"character":36}]},{"id":47,"name":"RequestTransformer","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Transforms a request."},"signatures":[{"id":48,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Transforms a request."},"parameters":[{"id":49,"name":"client","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"HttpClient","id":266}},{"id":50,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RequestMessageProcessor","id":114}},{"id":51,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RequestMessage","id":74}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":120,"character":43}]},{"id":3,"name":"XHR","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents an XHR."},"children":[{"id":11,"name":"onabort","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The abort callback."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":60,"character":9}],"type":{"type":"reference","name":"Function"}},{"id":10,"name":"onerror","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The error callback."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":55,"character":9}],"type":{"type":"reference","name":"Function"}},{"id":8,"name":"onload","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The load callback."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":45,"character":8}],"type":{"type":"reference","name":"Function"}},{"id":9,"name":"ontimeout","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The timeout callback."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":50,"character":11}],"type":{"type":"reference","name":"Function"}},{"id":6,"name":"response","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The raw response."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":35,"character":10}],"type":{"type":"instrinct","name":"any"}},{"id":7,"name":"responseText","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The raw response text."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":40,"character":14}],"type":{"type":"instrinct","name":"string"}},{"id":4,"name":"status","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The status code of the response."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":25,"character":8}],"type":{"type":"instrinct","name":"number"}},{"id":5,"name":"statusText","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The status text."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":30,"character":12}],"type":{"type":"instrinct","name":"string"}},{"id":12,"name":"abort","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":13,"name":"abort","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Aborts the request."},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":65,"character":7}]},{"id":14,"name":"open","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15,"name":"open","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Opens the XHR channel."},"parameters":[{"id":16,"name":"method","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}},{"id":17,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}},{"id":18,"name":"isAsync","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"boolean"}},{"id":19,"name":"user","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"string"}},{"id":20,"name":"password","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":70,"character":6}]},{"id":21,"name":"send","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":22,"name":"send","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sends the request."},"parameters":[{"id":23,"name":"content","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":75,"character":6}]}],"groups":[{"title":"Properties","kind":1024,"children":[11,10,8,9,6,7,4,5]},{"title":"Methods","kind":2048,"children":[12,14,21]}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":20,"character":28}]},{"id":2,"name":"XHRConstructor","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Creates an XHR implementation."},"sources":[{"fileName":"aurelia-http-client.d.ts","line":13,"character":39}]},{"id":24,"name":"XHRTransformer","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents an XHR transformer."},"signatures":[{"id":25,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Represents an XHR transformer."},"parameters":[{"id":26,"name":"client","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"HttpClient","id":266}},{"id":27,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RequestMessageProcessor","id":114}},{"id":28,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RequestMessage","id":74}},{"id":29,"name":"xhr","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"XHR","id":3}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":84,"character":39}]},{"id":314,"name":"mimeTypes","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"MimeTypes mapped to responseTypes","tags":[{"tag":"type","text":"{Object}\n"}]},"sources":[{"fileName":"aurelia-http-client.d.ts","line":300,"character":28}],"type":{"type":"instrinct","name":"any"}},{"id":321,"name":"callbackParameterNameTransformer","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":322,"name":"callbackParameterNameTransformer","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a callback parameter name to the request."},"parameters":[{"id":323,"name":"client","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The http client."},"type":{"type":"reference","name":"HttpClient","id":266}},{"id":324,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message processor."},"type":{"type":"reference","name":"RequestMessageProcessor","id":114}},{"id":325,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message."},"type":{"type":"reference","name":"RequestMessage","id":74}},{"id":326,"name":"xhr","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The xhr instance.\n"},"type":{"type":"reference","name":"XHR","id":3}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":345,"character":56}]},{"id":357,"name":"contentTransformer","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":358,"name":"contentTransformer","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Transforms the content of the request."},"parameters":[{"id":359,"name":"client","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The http client."},"type":{"type":"reference","name":"HttpClient","id":266}},{"id":360,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message processor."},"type":{"type":"reference","name":"RequestMessageProcessor","id":114}},{"id":361,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message."},"type":{"type":"reference","name":"RequestMessage","id":74}},{"id":362,"name":"xhr","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The xhr instance.\n"},"type":{"type":"reference","name":"XHR","id":3}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":399,"character":42}]},{"id":365,"name":"createHttpRequestMessageProcessor","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":366,"name":"createHttpRequestMessageProcessor","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a RequestMessageProcessor for handling HTTP request messages.","returns":"A processor instance for HTTP request messages.\n"},"type":{"type":"reference","name":"RequestMessageProcessor","id":114}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":444,"character":57}]},{"id":363,"name":"createJSONPRequestMessageProcessor","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":364,"name":"createJSONPRequestMessageProcessor","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a RequestMessageProcessor for handling JSONP request messages.","returns":"A processor instance for JSONP request messages.\n"},"type":{"type":"reference","name":"RequestMessageProcessor","id":114}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":418,"character":58}]},{"id":327,"name":"credentialsTransformer","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":328,"name":"credentialsTransformer","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets withCredentials on the request."},"parameters":[{"id":329,"name":"client","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The http client."},"type":{"type":"reference","name":"HttpClient","id":266}},{"id":330,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message processor."},"type":{"type":"reference","name":"RequestMessageProcessor","id":114}},{"id":331,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message."},"type":{"type":"reference","name":"RequestMessage","id":74}},{"id":332,"name":"xhr","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The xhr instance.\n"},"type":{"type":"reference","name":"XHR","id":3}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":354,"character":46}]},{"id":339,"name":"downloadProgressTransformer","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":340,"name":"downloadProgressTransformer","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds an onprogress callback to the request."},"parameters":[{"id":341,"name":"client","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The http client."},"type":{"type":"reference","name":"HttpClient","id":266}},{"id":342,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message processor."},"type":{"type":"reference","name":"RequestMessageProcessor","id":114}},{"id":343,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message."},"type":{"type":"reference","name":"RequestMessage","id":74}},{"id":344,"name":"xhr","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The xhr instance.\n"},"type":{"type":"reference","name":"XHR","id":3}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":372,"character":51}]},{"id":351,"name":"headerTransformer","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":352,"name":"headerTransformer","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds headers to the request."},"parameters":[{"id":353,"name":"client","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The http client."},"type":{"type":"reference","name":"HttpClient","id":266}},{"id":354,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message processor."},"type":{"type":"reference","name":"RequestMessageProcessor","id":114}},{"id":355,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message."},"type":{"type":"reference","name":"RequestMessage","id":74}},{"id":356,"name":"xhr","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The xhr instance.\n"},"type":{"type":"reference","name":"XHR","id":3}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":390,"character":41}]},{"id":333,"name":"progressTransformer","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":334,"name":"progressTransformer","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds an upload.onprogress callback to the request."},"parameters":[{"id":335,"name":"client","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The http client."},"type":{"type":"reference","name":"HttpClient","id":266}},{"id":336,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message processor."},"type":{"type":"reference","name":"RequestMessageProcessor","id":114}},{"id":337,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message."},"type":{"type":"reference","name":"RequestMessage","id":74}},{"id":338,"name":"xhr","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The xhr instance.\n"},"type":{"type":"reference","name":"XHR","id":3}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":363,"character":43}]},{"id":345,"name":"responseTypeTransformer","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":346,"name":"responseTypeTransformer","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a response type transformer to the request."},"parameters":[{"id":347,"name":"client","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The http client."},"type":{"type":"reference","name":"HttpClient","id":266}},{"id":348,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message processor."},"type":{"type":"reference","name":"RequestMessageProcessor","id":114}},{"id":349,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message."},"type":{"type":"reference","name":"RequestMessage","id":74}},{"id":350,"name":"xhr","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The xhr instance.\n"},"type":{"type":"reference","name":"XHR","id":3}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":381,"character":47}]},{"id":315,"name":"timeoutTransformer","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":316,"name":"timeoutTransformer","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a timeout to the request."},"parameters":[{"id":317,"name":"client","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The http client."},"type":{"type":"reference","name":"HttpClient","id":266}},{"id":318,"name":"processor","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message processor."},"type":{"type":"reference","name":"RequestMessageProcessor","id":114}},{"id":319,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The request message."},"type":{"type":"reference","name":"RequestMessage","id":74}},{"id":320,"name":"xhr","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The xhr instance.\n"},"type":{"type":"reference","name":"XHR","id":3}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-http-client.d.ts","line":336,"character":42}]}],"groups":[{"title":"Classes","kind":128,"children":[158,52,266,138,89,125,178,74,114]},{"title":"Interfaces","kind":256,"children":[30,47,3,2,24]},{"title":"Variables","kind":32,"children":[314]},{"title":"Functions","kind":64,"children":[321,357,365,363,327,339,351,333,345,315]}]}