Skip to content

Commit de0d484

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Get-WebSocket -RawText ( Fixes #30 )
1 parent a34e862 commit de0d484

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/Get-WebSocket.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,13 @@ If set, will watch the output of the WebSocket job, outputting results continuou
201201
|----------|--------|--------|-------------|-------|
202202
|`[Switch]`|false |named |false |Tail |
203203

204+
#### **RawText**
205+
If set, will output the raw text of the WebSocket job.
206+
207+
|Type |Required|Position|PipelineInput|Aliases|
208+
|----------|--------|--------|-------------|-------|
209+
|`[Switch]`|false |named |false |Raw |
210+
204211
#### **WatchFor**
205212
If set, will watch the output of a WebSocket job for one or more conditions.
206213
The conditions are the keys of the dictionary, and can be a regex, a string, or a scriptblock.
@@ -252,5 +259,5 @@ RunspacePools allow you to limit the scope of the handler to a pool of runspaces
252259

253260
### Syntax
254261
```PowerShell
255-
Get-WebSocket [[-WebSocketUri] <Uri>] [-Handler <ScriptBlock>] [-Variable <IDictionary>] [-Name <String>] [-InitializationScript <ScriptBlock>] [-BufferSize <Int32>] [-OnConnect <ScriptBlock>] [-OnError <ScriptBlock>] [-OnOutput <ScriptBlock>] [-OnWarning <ScriptBlock>] [-Watch] [-WatchFor <IDictionary>] [-TimeOut <TimeSpan>] [-Maximum <Int64>] [-ConnectionTimeout <TimeSpan>] [-Runspace <Runspace>] [-RunspacePool <RunspacePool>] [<CommonParameters>]
262+
Get-WebSocket [[-WebSocketUri] <Uri>] [-Handler <ScriptBlock>] [-Variable <IDictionary>] [-Name <String>] [-InitializationScript <ScriptBlock>] [-BufferSize <Int32>] [-OnConnect <ScriptBlock>] [-OnError <ScriptBlock>] [-OnOutput <ScriptBlock>] [-OnWarning <ScriptBlock>] [-Watch] [-RawText] [-WatchFor <IDictionary>] [-TimeOut <TimeSpan>] [-Maximum <Int64>] [-ConnectionTimeout <TimeSpan>] [-Runspace <Runspace>] [-RunspacePool <RunspacePool>] [<CommonParameters>]
256263
```

0 commit comments

Comments
 (0)