IIsmpModule
The callbacks the IsmpHost invokes on a registered ISMP module.
Functions
onAccept
Called by the IsmpHost to notify the module of a new proof-verified POST request.
function onAccept(IncomingPostRequest memory incoming) external;Parameters
| Name | Type | Description |
|---|---|---|
| incoming | IncomingPostRequest |
onPostResponse
Called by the IsmpHost to notify the module of a POST response to a previously sent request.
function onPostResponse(IncomingPostResponse memory incoming) external;Parameters
| Name | Type | Description |
|---|---|---|
| incoming | IncomingPostResponse |
onGetResponse
Called by the IsmpHost to notify the module of a GET response to a previously sent request.
function onGetResponse(IncomingGetResponse memory incoming) external;Parameters
| Name | Type | Description |
|---|---|---|
| incoming | IncomingGetResponse |
onPostRequestTimeout
Called by the IsmpHost to notify the module of a previously sent POST request that timed out.
function onPostRequestTimeout(PostRequest memory request) external;Parameters
| Name | Type | Description |
|---|---|---|
| request | PostRequest |
onPostResponseTimeout
Called by the IsmpHost to notify the module of a previously sent POST response that timed out.
function onPostResponseTimeout(PostResponse memory request) external;Parameters
| Name | Type | Description |
|---|---|---|
| request | PostResponse |
onGetTimeout
Called by the IsmpHost to notify the module of a previously sent GET request that timed out.
function onGetTimeout(GetRequest memory request) external;Parameters
| Name | Type | Description |
|---|---|---|
| request | GetRequest |