Skip to content

Commit fa7a166

Browse files
authored
doc(TcpSocket): add thread-safe documentation (#6729)
1 parent 55e2c65 commit fa7a166

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/BootstrapBlazor.Server/Components/Samples/Sockets/SocketFactories.razor

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ private ITcpSocketFactory? TcpSocketFactory { get; set; }</Pre>
2424

2525
<p class="code-label">3. 使用方法</p>
2626

27+
<p>注意:以下方法均为线程不安全方法,多线程并发时需要自行处理</p>
28+
2729
<ul class="ul-demo">
2830
<li>通过 <code>ITcpSocketClient</code> 实例方法 <code>ConnectAsync</code> 连接远端节点</li>
2931
<li>通过 <code>ITcpSocketClient</code> 实例方法 <code>SendAsync</code> 发送协议数据</li>

0 commit comments

Comments
 (0)