createClientMessageTransport()

DESCRIPTION

Create a client MessageTransport. The type of signing to be used depends on the options parameter..

DECLARATION

public func createClientMessageTransport(client: SignalingClient, options: ClientMessageTransportOptions) async throws -> MessageTransport

PARAMETERS

client:
The signaling client for sending/receiving messages.
options:
A ClientMessageTransportOptions object that specifies what type of message signing to use.

RETURNS

A client MessageTransport instance.