Skip to content

Commit c7a72bd

Browse files
committed
Update WebSocketTransport.cs
1 parent dc07d35 commit c7a72bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/src/webdriver/BiDi/Communication/Transport/WebSocketTransport.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ public async Task<T> ReceiveAsJsonAsync<T>(JsonSerializerContext jsonSerializerC
7171
return (T)res!;
7272
}
7373

74-
public async Task SendAsJsonAsync<TCCommand>(TCCommand command, JsonSerializerContext jsonSerializerContext, CancellationToken cancellationToken)
74+
public async Task SendAsJsonAsync<TCommand>(TCommand command, JsonSerializerContext jsonSerializerContext, CancellationToken cancellationToken)
7575
{
76-
var buffer = JsonSerializer.SerializeToUtf8Bytes(command, typeof(TCCommand), jsonSerializerContext);
76+
var buffer = JsonSerializer.SerializeToUtf8Bytes(command, typeof(TCommand), jsonSerializerContext);
7777

7878
await _socketSendSemaphoreSlim.WaitAsync(cancellationToken);
7979

0 commit comments

Comments
 (0)