mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-17 21:22:29 -04:00
Implement suggested change.
Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>
This commit is contained in:
@@ -31,7 +31,7 @@ Regardless of the client type, from the rust server's perspective, the client wi
|
||||
`ERROR: : The client connection was rejected. With our current code logic, all clients will be rejected.`
|
||||
:::
|
||||
:::server-csharp
|
||||
In C#, if we throw an exception during the `ClientConnected` reducer, the client would be disconnected.
|
||||
In C#, if we throw an exception during the `ClientConnected` reducer, the client will be disconnected.
|
||||
|
||||
Here is a simple example where the server module throws an error for all incoming client connections.
|
||||
```csharp
|
||||
|
||||
Reference in New Issue
Block a user