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
Parameter | Type | Description |
---|---|---|
service | any | The DID Document service section that contains a serviceEndpoint entry. |
message | string | The message to be sent. This API may change without a BREAKING CHANGE notice. |
Returns:
Promise<IDIDCommTransportResult>