createTransport
open override fun createTransport(connectionMethod: MdocConnectionMethod, role: MdocRole, options: MdocTransportOptions): MdocTransport
Creates a new MdocTransport for a single connectionMethod.
Return
an MdocTransport instance, ready to be used.
Parameters
connectionMethod
the connection method to advertise or connect to.
role
the role of the MdocTransport.
options
options for the MdocTransport.
Throws
if connectionMethod is unsupported or invalid for role.