Search
Preparing search index...
The search index is not available
Cognite JavaScript SDK (beta)
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"core/src/httpClient/basicHttpClient"
Module "core/src/httpClient/basicHttpClient"
Index
Enumerations
Http
Method
Classes
Basic
Http
Client
Interfaces
Http
Request
Http
Request
Options
Http
Response
Type aliases
Http
Call
Http
Query
Params
Http
Response
Type
Response
Handler
Functions
headers
With
Default
Field
lowercase
Headers
Keys
Object literals
Http
Response
Type
Type aliases
Http
Call
Http
Call
:
<ResponseType>
(
path
:
string
, options
?:
HttpRequestOptions
)
=>
Promise
<
HttpResponse
<
ResponseType
>
>
Type declaration
<ResponseType>
(
path
:
string
, options
?:
HttpRequestOptions
)
:
Promise
<
HttpResponse
<
ResponseType
>
>
Type parameters
ResponseType
Parameters
path:
string
Optional
options:
HttpRequestOptions
Returns
Promise
<
HttpResponse
<
ResponseType
>
>
Http
Query
Params
Http
Query
Params
:
object
Http
Response
Type
Http
Response
Type
:
"json"
|
"arraybuffer"
|
"text"
Response
Handler
Response
Handler<ResponseType>
:
(
res
:
Response
)
=>
Promise
<
ResponseType
>
Type parameters
ResponseType
Type declaration
(
res
:
Response
)
:
Promise
<
ResponseType
>
Parameters
res:
Response
Returns
Promise
<
ResponseType
>
Functions
headers
With
Default
Field
headers
With
Default
Field
(
headers
:
HttpHeaders
, fieldName
:
string
, fieldValue
:
string
)
:
HttpHeaders
Parameters
headers:
HttpHeaders
fieldName:
string
fieldValue:
string
Returns
HttpHeaders
lowercase
Headers
Keys
lowercase
Headers
Keys
(
headers
:
HttpHeaders
)
:
string
[]
Parameters
headers:
HttpHeaders
Returns
string
[]
Object literals
Const
Http
Response
Type
Http
Response
Type
:
object
Array
Buffer
Array
Buffer
:
HttpResponseType
= 'arraybuffer' as HttpResponseType
Json
Json
:
HttpResponseType
= 'json' as HttpResponseType
Text
Text
:
HttpResponseType
= 'text' as HttpResponseType
Globals
"core/src/http
Client/basic
Http
Client"
Http
Method
Basic
Http
Client
Http
Request
Http
Request
Options
Http
Response
Http
Call
Http
Query
Params
Http
Response
Type
Response
Handler
headers
With
Default
Field
lowercase
Headers
Keys
Http
Response
Type