示例#1
0
 public async void GetAsync(int id)
 {
     try {
         await WebSocketXX.SendAsyncAll(new { Message = "成功!" });
     }
     catch (Exception e) {
     }
 }
示例#2
0
 public async void Post([FromBody] string value)
 {
     await WebSocketXX.SendAsyncAll(new { Message = "成功!" });
 }