Skip to main content

IDIDCommTransport.send() method

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.

Sends the provided raw message (without further processing) to the service endpoint defined in the provided DID Document service section.

Signature:

send(service: any, message: string): Promise<IDIDCommTransportResult>;

Parameters

ParameterTypeDescription
serviceanyThe DID Document service section that contains a serviceEndpoint entry.
messagestring

The message to be sent.

This API may change without a BREAKING CHANGE notice.

Returns:

Promise<IDIDCommTransportResult>