using System.Threading;
using System.Threading.Tasks;
namespace xPushService.Interfaces
{
public interface IXBaseWebRTCHub : IXBaseHub
{
///
/// Sending WebRTC Offer To Specified Connection ...
///
///
///
///
///
Task Offer(
string offer,
string to,
CancellationToken cancellationToken = default
);
///
/// Sending WebRTC Answer to Specified Connection ...
///
///
///
///
Task Answer(
string answer,
CancellationToken cancellationToken = default
);
///
/// Sending WebRTC Candidate to Specified Connecton ...
///
///
///
///
///
Task Candidate(
string candidate,
string to,
CancellationToken cancellationToken = default
);
}
}