Search
Preparing search index...
The search index is not available
Cumulocity Web SDK
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
TestClient
Class TestClient
Hierarchy
TestClient
Implements
IFetchClient
Index
Constructors
constructor
Properties
auth
client
mock
As
tenant
mock
As
Accessors
mock
Save
Directory
Methods
auto
Mock
fetch
get
Cometd
Handshake
get
Default
Url
get
Fetch
Options
get
Url
Constructors
constructor
new
Test
Client
(
urlOrAuth
?:
string
|
IAuthentication
, auth
?:
IAuthentication
)
:
TestClient
Parameters
Optional
urlOrAuth:
string
|
IAuthentication
Optional
auth:
IAuthentication
Returns
TestClient
Properties
auth
auth
:
IAuthentication
client
client
:
FetchClient
mock
As
mock
As
:
string
= ""
tenant
tenant
:
string
= ""
Static
mock
As
mock
As
:
string
Accessors
mock
Save
Directory
mock
Save
Directory
:
Methods
auto
Mock
auto
Mock
(
auth
:
IAuthentication
, url
?:
string
)
:
void
Parameters
auth:
IAuthentication
Default value
url:
string
= null
Returns
void
fetch
fetch
(
url
:
string
, init
?:
IFetchOptions
)
:
Promise
<
IFetchResponse
>
Parameters
url:
string
Optional
init:
IFetchOptions
Returns
Promise
<
IFetchResponse
>
get
Cometd
Handshake
get
Cometd
Handshake
(
)
:
object
Returns
object
get
Default
Url
get
Default
Url
(
)
:
string
Returns
string
get
Fetch
Options
get
Fetch
Options
(
o
:
any
)
:
any
Parameters
o:
any
Returns
any
get
Url
get
Url
(
u
:
any
)
:
any
Parameters
u:
any
Returns
any
Globals
Test
Client
constructor
auth
client
mock
As
tenant
mock
As
mock
Save
Directory
auto
Mock
fetch
get
Cometd
Handshake
get
Default
Url
get
Fetch
Options
get
Url
Generated using
TypeDoc