Search
Preparing search index...
The search index is not available
@sudoplatform-labs/sudo-di-cloud-agent
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@sudoplatform-labs/sudo-di-cloud-agent
TrustpingApi
Class TrustpingApi
Hierarchy
BaseAPI
TrustpingApi
Index
Constructors
constructor
Properties
configuration
Methods
connections
Conn
Id
Send
Ping
Post
connections
Conn
Id
Send
Ping
Post
Raw
request
with
Middleware
with
Post
Middleware
with
Pre
Middleware
Constructors
constructor
new
Trustping
Api
(
configuration
?:
Configuration
)
:
TrustpingApi
Parameters
configuration:
Configuration
= ...
Returns
TrustpingApi
Properties
Protected
configuration
configuration
:
Configuration
= ...
Methods
connections
Conn
Id
Send
Ping
Post
connections
Conn
Id
Send
Ping
Post
(
requestParameters
:
ConnectionsConnIdSendPingPostRequest
)
:
Promise
<
PingRequestResponse
>
Send a trust ping to a connection
Parameters
requestParameters:
ConnectionsConnIdSendPingPostRequest
Returns
Promise
<
PingRequestResponse
>
connections
Conn
Id
Send
Ping
Post
Raw
connections
Conn
Id
Send
Ping
Post
Raw
(
requestParameters
:
ConnectionsConnIdSendPingPostRequest
)
:
Promise
<
ApiResponse
<
PingRequestResponse
>
>
Send a trust ping to a connection
Parameters
requestParameters:
ConnectionsConnIdSendPingPostRequest
Returns
Promise
<
ApiResponse
<
PingRequestResponse
>
>
Protected
request
request
(
context
:
RequestOpts
)
:
Promise
<
Response
>
Parameters
context:
RequestOpts
Returns
Promise
<
Response
>
with
Middleware
with
Middleware
<
T
>
(
...
middlewares
:
Middleware
[]
)
:
T
Type parameters
T
:
BaseAPI
<
T
>
Parameters
Rest
...
middlewares:
Middleware
[]
Returns
T
with
Post
Middleware
with
Post
Middleware
<
T
>
(
...
postMiddlewares
:
(
undefined
|
(
(
context
:
ResponseContext
)
=>
Promise
<
void
|
Response
>
)
)
[]
)
:
T
Type parameters
T
:
BaseAPI
<
T
>
Parameters
Rest
...
postMiddlewares:
(
undefined
|
(
(
context
:
ResponseContext
)
=>
Promise
<
void
|
Response
>
)
)
[]
Returns
T
with
Pre
Middleware
with
Pre
Middleware
<
T
>
(
...
preMiddlewares
:
(
undefined
|
(
(
context
:
RequestContext
)
=>
Promise
<
void
|
FetchParams
>
)
)
[]
)
:
T
Type parameters
T
:
BaseAPI
<
T
>
Parameters
Rest
...
preMiddlewares:
(
undefined
|
(
(
context
:
RequestContext
)
=>
Promise
<
void
|
FetchParams
>
)
)
[]
Returns
T
Exports
Trustping
Api
constructor
configuration
connections
Conn
Id
Send
Ping
Post
connections
Conn
Id
Send
Ping
Post
Raw
request
with
Middleware
with
Post
Middleware
with
Pre
Middleware
Generated using
TypeDoc
Send a trust ping to a connection