Search
Preparing search index...
The search index is not available
cv-dialog-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ws/FetchClient"
FetchClient
Class FetchClient
Hierarchy
FetchClient
Implements
Client
Index
Properties
_last
Activity
Accessors
last
Activity
Methods
assert
Json
Content
Type
delete
Json
encode
Query
Params
get
Blob
get
Json
get
Text
is
Json
Content
Type
open
Stream
post
Json
post
Multipart
process
Request
put
Json
Properties
Private
_last
Activity
_last
Activity
:
Date
= new Date()
Accessors
last
Activity
get
lastActivity
(
)
:
Date
Returns
Date
Methods
Private
assert
Json
Content
Type
assert
Json
Content
Type
(
contentType
:
string
)
:
Promise
<
void
>
Parameters
contentType:
string
Returns
Promise
<
void
>
delete
Json
delete
Json
(
baseUrl
:
string
, resourcePath
:
string
)
:
Promise
<
JsonClientResponse
>
Parameters
baseUrl:
string
resourcePath:
string
Returns
Promise
<
JsonClientResponse
>
Private
encode
Query
Params
encode
Query
Params
(
queryParams
:
StringDictionary
)
:
string
Parameters
queryParams:
StringDictionary
Returns
string
get
Blob
get
Blob
(
baseUrl
:
string
, resourcePath
?:
string
)
:
Promise
<
BlobClientResponse
>
Parameters
baseUrl:
string
Optional
resourcePath:
string
Returns
Promise
<
BlobClientResponse
>
get
Json
get
Json
(
baseUrl
:
string
, resourcePath
?:
string
, queryParams
?:
StringDictionary
)
:
Promise
<
JsonClientResponse
>
Parameters
baseUrl:
string
Optional
resourcePath:
string
Optional
queryParams:
StringDictionary
Returns
Promise
<
JsonClientResponse
>
get
Text
get
Text
(
baseUrl
:
string
, resourcePath
?:
string
)
:
Promise
<
TextClientResponse
>
Parameters
baseUrl:
string
Optional
resourcePath:
string
Returns
Promise
<
TextClientResponse
>
Private
is
Json
Content
Type
is
Json
Content
Type
(
contentType
:
string
)
:
boolean
Parameters
contentType:
string
Returns
boolean
open
Stream
open
Stream
(
baseUrl
:
string
, resourcePath
?:
string
)
:
Promise
<
StreamProducer
>
Parameters
baseUrl:
string
Optional
resourcePath:
string
Returns
Promise
<
StreamProducer
>
post
Json
post
Json
(
baseUrl
:
string
, resourcePath
:
string
, jsonBody
?:
StringDictionary
)
:
Promise
<
JsonClientResponse
>
Parameters
baseUrl:
string
resourcePath:
string
Optional
jsonBody:
StringDictionary
Returns
Promise
<
JsonClientResponse
>
post
Multipart
post
Multipart
(
baseUrl
:
string
, resourcePath
:
string
, formData
:
FormData
)
:
Promise
<
VoidClientResponse
>
Parameters
baseUrl:
string
resourcePath:
string
formData:
FormData
Returns
Promise
<
VoidClientResponse
>
Private
process
Request
process
Request
(
url
:
string
, method
:
FetchMethod
, body
?:
any
, headers
?:
object
)
:
Promise
<
Response
>
Parameters
url:
string
method:
FetchMethod
Optional
body:
any
Optional
headers:
object
[
index:
string
]:
string
Returns
Promise
<
Response
>
put
Json
put
Json
(
baseUrl
:
string
, resourcePath
:
string
, jsonBody
?:
StringDictionary
)
:
Promise
<
JsonClientResponse
>
Parameters
baseUrl:
string
resourcePath:
string
Optional
jsonBody:
StringDictionary
Returns
Promise
<
JsonClientResponse
>
Globals
"ws/
Fetch
Client"
Fetch
Client
_last
Activity
last
Activity
assert
Json
Content
Type
delete
Json
encode
Query
Params
get
Blob
get
Json
get
Text
is
Json
Content
Type
open
Stream
post
Json
post
Multipart
process
Request
put
Json
Fetch
Method
Generated using
TypeDoc