{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Namespace: AbstractHttpService","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":true,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/readme"},"children":["API"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit"},"children":["geotoolkit"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.http"},"children":["http"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.http.abstracthttpservice"},"children":["AbstractHttpService"]}," / AbstractHttpService"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"namespace-abstracthttpservice","__idx":0},"children":["Namespace: AbstractHttpService"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.http"},"children":["http"]},".",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.http.abstracthttpservice"},"children":["AbstractHttpService"]},".AbstractHttpService"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"table-of-contents","__idx":1},"children":["Table of contents"]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Type Aliases"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.http.abstracthttpservice.abstracthttpservice#options"},"children":["Options"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.http.abstracthttpservice.abstracthttpservice#requestmethods"},"children":["RequestMethods"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.http.abstracthttpservice.abstracthttpservice#requestoptions"},"children":["RequestOptions"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.http.abstracthttpservice.abstracthttpservice#requestresponse"},"children":["RequestResponse"]}]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"contents","__idx":2},"children":["Contents"]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Type Aliases"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"options","__idx":3},"children":["Options"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Options"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Object"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["default options"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"type-declaration","__idx":4},"children":["Type declaration"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cancel?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/classes/geotoolkit.util.cancel.cancel"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Cancel"]}]}," | ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.http.abstracthttpservice#deprecatedcancelcallback"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DeprecatedCancelCallback"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Cancellation token. Type of function to receive cancel token is deprecated since 4.0"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["headers?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Record"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]},">"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["custom headers to be sent"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["onprogress?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["progressObject"]},": { ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["loaded"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}," ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["total"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]},"  }) => ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["void"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["a function to be executed to handle progress"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["timeout?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["A timeout in milliseconds to abort a request. If set to 0 (default) a timeout is not created."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transformrequest?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["request"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.http.abstracthttpservice.abstracthttpservice#requestoptions"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RequestOptions"]}]},") => ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["any"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["a function executed before requests"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transformresponse?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["response"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["any"]},") => ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["any"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["a function executed after response"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["withcredentials?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["credential options"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"requestmethods","__idx":5},"children":["RequestMethods"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["RequestMethods"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"GET\""]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"HEAD\""]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"POST\""]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"PUT\""]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"DELETE\""]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"CONNECT\""]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"OPTIONS\""]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"TRACE\""]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"PATCH\""]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"requestoptions","__idx":6},"children":["RequestOptions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["RequestOptions"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.http.abstracthttpservice.abstracthttpservice#options"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Options"]}]}," & { ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["baseurl?"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}," ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data?"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["any"]}," ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["method?"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.http.abstracthttpservice.abstracthttpservice#requestmethods"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RequestMethods"]}]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Lowercase"]},"<",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.http.abstracthttpservice.abstracthttpservice#requestmethods"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RequestMethods"]}]},"> ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["params?"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Record"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["any"]},"> ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["responsetype?"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.http.abstracthttpservice.abstracthttpservice#requestresponse"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RequestResponse"]}]}," ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["url?"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]},"  }"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["options all options keys are case insensitive"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"requestresponse","__idx":7},"children":["RequestResponse"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["RequestResponse"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"\""]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"arraybuffer\""]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"blob\""]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"document\""]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"json\""]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"text\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Define request response type"]}]}]},"headings":[{"value":"Namespace: AbstractHttpService","id":"namespace-abstracthttpservice","depth":1},{"value":"Table of contents","id":"table-of-contents","depth":2},{"value":"Contents","id":"contents","depth":2},{"value":"Options","id":"options","depth":4},{"value":"Type declaration","id":"type-declaration","depth":4},{"value":"RequestMethods","id":"requestmethods","depth":4},{"value":"RequestOptions","id":"requestoptions","depth":4},{"value":"RequestResponse","id":"requestresponse","depth":4}],"frontmatter":{"seo":{"title":"Namespace: AbstractHttpService"}},"lastModified":"2026-02-11T19:54:32.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/geotoolkit/apis/modules/geotoolkit.http.abstracthttpservice.abstracthttpservice","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}