Skip to content

Commit d88e12b

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Get-WebSocket -Broadcast ( Fixes #39 )
1 parent df13f4e commit d88e12b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/Get-WebSocket.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,12 @@ The buffer size. Defaults to 16kb.
220220
|---------|--------|--------|-------------|
221221
|`[Int32]`|false |named |false |
222222

223+
#### **Broadcast**
224+
225+
|Type |Required|Position|PipelineInput|
226+
|------------|--------|--------|-------------|
227+
|`[PSObject]`|false |named |false |
228+
223229
#### **OnConnect**
224230
The ScriptBlock to run after connection to a websocket.
225231
This can be useful for making any initial requests.
@@ -372,5 +378,5 @@ RunspacePools allow you to limit the scope of the handler to a pool of runspaces
372378

373379
### Syntax
374380
```PowerShell
375-
Get-WebSocket [[-WebSocketUri] <Uri>] [[-RootUrl] <String[]>] [-Route <IDictionary>] [-HTML <String>] [-QueryParameter <IDictionary>] [-Handler <ScriptBlock>] [-Variable <IDictionary>] [-Name <String>] [-InitializationScript <ScriptBlock>] [-BufferSize <Int32>] [-OnConnect <ScriptBlock>] [-OnError <ScriptBlock>] [-OnOutput <ScriptBlock>] [-OnWarning <ScriptBlock>] [-Watch] [-RawText] [-Binary] [-Force] [-SubProtocol <String>] [-Filter <PSObject[]>] [-WatchFor <IDictionary>] [-TimeOut <TimeSpan>] [-PSTypeName <String[]>] [-Maximum <Int64>] [-ConnectionTimeout <TimeSpan>] [-Runspace <Runspace>] [-RunspacePool <RunspacePool>] [-IncludeTotalCount] [-Skip <UInt64>] [-First <UInt64>] [<CommonParameters>]
381+
Get-WebSocket [[-WebSocketUri] <Uri>] [[-RootUrl] <String[]>] [-Route <IDictionary>] [-HTML <String>] [-QueryParameter <IDictionary>] [-Handler <ScriptBlock>] [-Variable <IDictionary>] [-Name <String>] [-InitializationScript <ScriptBlock>] [-BufferSize <Int32>] [-Broadcast <PSObject>] [-OnConnect <ScriptBlock>] [-OnError <ScriptBlock>] [-OnOutput <ScriptBlock>] [-OnWarning <ScriptBlock>] [-Watch] [-RawText] [-Binary] [-Force] [-SubProtocol <String>] [-Filter <PSObject[]>] [-WatchFor <IDictionary>] [-TimeOut <TimeSpan>] [-PSTypeName <String[]>] [-Maximum <Int64>] [-ConnectionTimeout <TimeSpan>] [-Runspace <Runspace>] [-RunspacePool <RunspacePool>] [-IncludeTotalCount] [-Skip <UInt64>] [-First <UInt64>] [<CommonParameters>]
376382
```

0 commit comments

Comments
 (0)