Skip to content

Commit

Permalink
feat: Get-WebSocket -BufferSize 64kb ( Fixes #52 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Jan 5, 2025
1 parent 17e9dcb commit 830be61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Commands/Get-WebSocket.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function Get-WebSocket {

# The buffer size. Defaults to 16kb.
[int]
$BufferSize = 16kb,
$BufferSize = 64kb,

# The ScriptBlock to run after connection to a websocket.
# This can be useful for making any initial requests.
Expand Down Expand Up @@ -244,7 +244,7 @@ function Get-WebSocket {
}

if (-not $BufferSize) {
$BufferSize = 16kb
$BufferSize = 64kb
}

$CT = [Threading.CancellationToken]::None
Expand Down

0 comments on commit 830be61

Please sign in to comment.