예제 #1
0
 public async Task Shutdown(SocketShutdown direction)
 {
     await MsgStream.Close(new CloseOpt(CloseType.Shutdown, direction)).CAF();
 }
예제 #2
0
 public async Task Close()
 {
     await MsgStream.Close(new CloseOpt(CloseType.Close)).CAF();
 }