You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
229 B

  1. using System;
  2. using WebSocketSharp;
  3. using WebSocketSharp.Server;
  4. namespace Example2
  5. {
  6. public class Echo : WebSocketBehavior
  7. {
  8. protected override void OnMessage (MessageEventArgs e)
  9. {
  10. Send (e.Data);
  11. }
  12. }
  13. }