Skip to main content

IDIDCommTransport interface

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.

Common interface for transports that can be used in the DIDComm module.

This API may change without a BREAKING CHANGE notice.

Signature:

export interface IDIDCommTransport

Properties

PropertyModifiersTypeDescription
idstring(BETA) Identifier of this transport that can be used in case the message thread supports reusing the transport connection.

Methods

MethodDescription
isServiceSupported(service)(BETA) Returns true if this transport is suitable for the provided DID Document service section, otherwise false.
send(service, message)(BETA) Sends the provided raw message (without further processing) to the service endpoint defined in the provided DID Document service section.