diff --git a/Example2/Program.cs b/Example2/Program.cs index e83c762a..497b8ac9 100644 --- a/Example2/Program.cs +++ b/Example2/Program.cs @@ -100,6 +100,10 @@ namespace Example2 // To emit a WebSocket.OnMessage event when receives a ping. s.EmitOnPing = true; + // To disable a delay when send or receive buffer of the underlying + // TCP socket is not full. + s.NoDelay = true; + // To validate the Origin header. s.OriginValidator = val => { // Check the value of the Origin header, and return true if valid.