Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ EnsureSendOperation()

void System.Net.WebSockets.WebSocketBase.EnsureSendOperation ( )
inlineprivate

Definition at line 1382 of file WebSocketBase.cs.

1383 {
1384 if (_sendOperation != null)
1385 {
1386 return;
1387 }
1388 lock (_thisLock)
1389 {
1390 if (_sendOperation == null)
1391 {
1392 _sendOperation = new WebSocketOperation.SendOperation(this);
1393 }
1394 }
1395 }
volatile WebSocketOperation.SendOperation _sendOperation

References System.Net.WebSockets.WebSocketBase._sendOperation, and System.Net.WebSockets.WebSocketBase._thisLock.

Referenced by System.Net.WebSockets.WebSocketBase.SendAsyncCore().