public async Task SendAnswerToServer(SocketData serverData, string clientAnswer) { var notification = new PeerAnswerNotification(clientAnswer); await SendMessageAsync(serverData.Socket, notification); }
public async Task SendServerAvailable(SocketData socketData, string serverOffer) { var response = new ServerAvailableNotification(serverOffer); await SendMessageAsync(socketData.Socket, response); }