File tree Expand file tree Collapse file tree
SimpleNetworkManager.NET/Network Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public async UniTask DisconnectAsync()
3939 ClientConnection . Dispose ( ) ;
4040 }
4141
42- public async UniTask < TResponse ? > SendRequestAsync < TResponse > ( BaseRequestMessage request )
42+ public async UniTask < TResponse > SendRequestAsync < TResponse > ( BaseRequestMessage request )
4343 where TResponse : BaseResponseMessage
4444 {
4545 if ( ClientConnection == null || ! ClientConnection . IsConnected )
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public async UniTask DisconnectAsync(uint connectionId)
5050 await clientConnection . DisconnectAsync ( ) ;
5151 }
5252
53- public async UniTask < TResponse ? > SendRequestAsync < TResponse > ( uint connectionId , BaseRequestMessage request )
53+ public async UniTask < TResponse > SendRequestAsync < TResponse > ( uint connectionId , BaseRequestMessage request )
5454 where TResponse : BaseResponseMessage
5555 {
5656 if ( ! _connectionManager . TryGetConnection ( connectionId , out var clientConnection ) )
You can’t perform that action at this time.
0 commit comments