Table of Contents

Class WebSocketSignalingClient

Namespace
WitShells.WebRTCWit
public class WebSocketSignalingClient : IDisposable
Inheritance
WebSocketSignalingClient
Implements
Inherited Members

Properties

IsConnected

public bool IsConnected { get; }

Property Value

bool

Methods

ConnectAsync(string)

public Task ConnectAsync(string url)

Parameters

url string

Returns

Task

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

SendAsync(string)

public Task SendAsync(string message)

Parameters

message string

Returns

Task

Events

OnError

public event Action<string> OnError

Event Type

Action<string>

OnMessage

public event Action<string> OnMessage

Event Type

Action<string>