AbstractDIDCommTransport class
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Abstract implementation of IDIDCommTransport.
This API may change without a BREAKING CHANGE notice.
Signature:
export declare abstract class AbstractDIDCommTransport implements IDIDCommTransport
Implements: IDIDCommTransport
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(id) | (BETA) Shared constructor that takes an optional identifier (for reusing) for this IDIDCommTransport. |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| id | string | (BETA) |
Methods
| Method | Modifiers | Description |
|---|---|---|
| isServiceSupported(service) | abstract | (BETA) Returns true if this transport is suitable for the provided DID Document service section, otherwise false. |
| send(service, message) | abstract | (BETA) Sends the provided raw message (without further processing) to the service endpoint defined in the provided DID Document service section. |