DIDCommMessageHandler.handle() 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.
Handles a new packed DIDCommV2 Message (also Alpha support but soon deprecated). - Tests whether raw message is a DIDCommV2 message - Unpacks raw message (JWM/JWE/JWS, or plain JSON). -
Signature:
handle(message: Message, context: IContext): Promise<Message>;
Parameters
Parameter | Type | Description |
---|---|---|
message | Message | |
context | IContext |
Returns:
Promise<Message>