C# (CSharp) Luz.Net 네임스페이스

클래스들

이름 설명
WebRtcNetwork Uses an underlaying java script library to give network access in browsers. Use WebRtcNetwork.IsAvailable() first to check if it can run. If the java script part of the library is included + the browser supports WebRtc it should return true. If the java script part of the library is not included you can inject it at runtime by using WebRtcNetwork.InjectJsCode(). It is recommecend to include the js files though. To allow incomming connections use StartServer() or StartServer("my room name") To connect oothers use Connect("room name"); To send messages use SendData. You will need to handle incomming events by polling the Dequeue method.