File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/BootstrapBlazor/Services/TcpSocket Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace BootstrapBlazor.Components;
1010/// <summary>
1111/// Represents a TCP socket for network communication.
1212/// </summary>
13- public interface ITcpSocketClient : IDisposable
13+ public interface ITcpSocketClient : IAsyncDisposable
1414{
1515 /// <summary>
1616 /// Gets or sets the size, in bytes, of the receive buffer used for network operations.
@@ -110,5 +110,5 @@ public interface ITcpSocketClient : IDisposable
110110 /// <remarks>Once the connection or resource is closed, it cannot be reopened. Ensure that all necessary
111111 /// operations are completed before calling this method. This method is typically used to clean up resources when
112112 /// they are no longer needed.</remarks>
113- void Close ( ) ;
113+ ValueTask Close ( ) ;
114114}
You can’t perform that action at this time.
0 commit comments