@@ -68,7 +68,7 @@ public virtual ValueTask SendAsync(WebSocketPackage message)
6868 /// <param name="message">The WebSocket package to send.</param>
6969 /// <param name="cancellationToken">A token to monitor for cancellation requests.</param>
7070 /// <returns>A task that represents the asynchronous send operation.</returns>
71- public virtual ValueTask SendAsync ( WebSocketPackage message , CancellationToken cancellationToken = default )
71+ public virtual ValueTask SendAsync ( WebSocketPackage message , CancellationToken cancellationToken )
7272 {
7373 return this . Connection . SendAsync ( MessageEncoder , message , cancellationToken ) ;
7474 }
@@ -89,7 +89,7 @@ public virtual ValueTask SendAsync(string message)
8989 /// <param name="message">The text message to send.</param>
9090 /// <param name="cancellationToken">A token to monitor for cancellation requests.</param>
9191 /// <returns>A task that represents the asynchronous send operation.</returns>
92- public virtual ValueTask SendAsync ( string message , CancellationToken cancellationToken = default )
92+ public virtual ValueTask SendAsync ( string message , CancellationToken cancellationToken )
9393 {
9494 return SendAsync ( new WebSocketPackage
9595 {
@@ -142,7 +142,7 @@ public virtual ValueTask SendAsync(ReadOnlySequence<byte> data)
142142 /// <param name="data">The binary data to send.</param>
143143 /// <param name="cancellationToken">A token to monitor for cancellation requests.</param>
144144 /// <returns>A task that represents the asynchronous send operation.</returns>
145- public virtual ValueTask SendAsync ( ReadOnlySequence < byte > data , CancellationToken cancellationToken = default )
145+ public virtual ValueTask SendAsync ( ReadOnlySequence < byte > data , CancellationToken cancellationToken )
146146 {
147147 return SendAsync ( new WebSocketPackage
148148 {
0 commit comments