Skip to content

Commit f216e42

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Get-WebSocket -Force ( Fixes #58 )
1 parent c54b4d6 commit f216e42

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
@@ -270,6 +270,13 @@ If set, will output the raw bytes that come out of the WebSocket.
270270
|----------|--------|--------|-------------|---------------------------------------|
271271
|`[Switch]`|false |named |false |RawByte<br/>RawBytes<br/>Bytes<br/>Byte|
272272

273+
#### **Force**
274+
If set, will force a new job to be created, rather than reusing an existing job.
275+
276+
|Type |Required|Position|PipelineInput|
277+
|----------|--------|--------|-------------|
278+
|`[Switch]`|false |named |false |
279+
273280
#### **SubProtocol**
274281
The subprotocol used by the websocket. If not provided, this will default to `json`.
275282

@@ -365,5 +372,5 @@ RunspacePools allow you to limit the scope of the handler to a pool of runspaces
365372

366373
### Syntax
367374
```PowerShell
368-
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] [-SubProtocol <String>] [-Filter <PSObject[]>] [-WatchFor <IDictionary>] [-TimeOut <TimeSpan>] [-PSTypeName <String[]>] [-Maximum <Int64>] [-ConnectionTimeout <TimeSpan>] [-Runspace <Runspace>] [-RunspacePool <RunspacePool>] [-IncludeTotalCount] [-Skip <UInt64>] [-First <UInt64>] [<CommonParameters>]
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>]
369376
```

0 commit comments

Comments
 (0)