Skip to content

Commit b00340c

Browse files
author
James Brundage
committed
feat: Get-WebSocket -Binary ( Fixes #31 )
1 parent 62176f2 commit b00340c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Commands/Get-WebSocket.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,16 @@ function Get-WebSocket {
137137
[switch]
138138
$Watch,
139139

140-
# If set, will output the raw text of the WebSocket job.
140+
# If set, will output the raw text that comes out of the WebSocket.
141141
[Alias('Raw')]
142142
[switch]
143143
$RawText,
144144

145+
# If set, will output the raw bytes that come out of the WebSocket.
146+
[Alias('RawByte','RawBytes','Bytes','Byte')]
147+
[switch]
148+
$Binary,
149+
145150
# If set, will watch the output of a WebSocket job for one or more conditions.
146151
# The conditions are the keys of the dictionary, and can be a regex, a string, or a scriptblock.
147152
# The values of the dictionary are what will happen when a match is found.

0 commit comments

Comments
 (0)