IDIDComm.sendMessageDIDCommAlpha1() 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.
Warning: This API is now obsolete.
Please use IDIDComm.sendDIDCommMessage() instead. This will be removed in Veramo 4.0
This is used to create a message according to the initial DIDComm-js implementation.
Signature:
sendMessageDIDCommAlpha1(args: ISendMessageDIDCommAlpha1Args, context: IAgentContext<IDIDManager & IKeyManager & IResolver & IMessageHandler>): Promise<IMessage>;
Parameters
Parameter | Type | Description |
---|---|---|
args | ISendMessageDIDCommAlpha1Args | Arguments necessary for sending a DIDComm message |
context | IAgentContext<IDIDManager & IKeyManager & IResolver & IMessageHandler> | This reserved param is automatically added and handled by the framework, *do not override* This API may change without a BREAKING CHANGE notice. |
Returns:
Promise<IMessage>
Remarks
Be advised that this spec is still not final and that this protocol may need to change.