File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -234,6 +234,13 @@ If set, will output the raw bytes that come out of the WebSocket.
234234| ----------| --------| --------| -------------| ---------------------------------------|
235235| ` [Switch] ` | false | named | false | RawByte<br />RawBytes<br />Bytes<br />Byte|
236236
237+ #### ** SubProtocol**
238+ The subprotocol used by the websocket. If not provided, this will default to ` json ` .
239+
240+ | Type | Required| Position| PipelineInput|
241+ | ----------| --------| --------| -------------|
242+ | ` [String] ` | false | named | false |
243+
237244#### ** WatchFor**
238245If set, will watch the output of a WebSocket job for one or more conditions.
239246The conditions are the keys of the dictionary, and can be a regex, a string, or a scriptblock.
@@ -293,5 +300,5 @@ RunspacePools allow you to limit the scope of the handler to a pool of runspaces
293300
294301### Syntax
295302``` PowerShell
296- Get-WebSocket [[-WebSocketUri] <Uri>] [-Handler <ScriptBlock>] [-Variable <IDictionary>] [-Name <String>] [-InitializationScript <ScriptBlock>] [-BufferSize <Int32>] [-OnConnect <ScriptBlock>] [-OnError <ScriptBlock>] [-OnOutput <ScriptBlock>] [-OnWarning <ScriptBlock>] [-Watch] [-RawText] [-Binary] [-WatchFor <IDictionary>] [-TimeOut <TimeSpan>] [-PSTypeName <String[]>] [-Maximum <Int64>] [-ConnectionTimeout <TimeSpan>] [-Runspace <Runspace>] [-RunspacePool <RunspacePool>] [<CommonParameters>]
303+ Get-WebSocket [[-WebSocketUri] <Uri>] [-Handler <ScriptBlock>] [-Variable <IDictionary>] [-Name <String>] [-InitializationScript <ScriptBlock>] [-BufferSize <Int32>] [-OnConnect <ScriptBlock>] [-OnError <ScriptBlock>] [-OnOutput <ScriptBlock>] [-OnWarning <ScriptBlock>] [-Watch] [-RawText] [-Binary] [-SubProtocol <String>] [- WatchFor <IDictionary>] [-TimeOut <TimeSpan>] [-PSTypeName <String[]>] [-Maximum <Int64>] [-ConnectionTimeout <TimeSpan>] [-Runspace <Runspace>] [-RunspacePool <RunspacePool>] [<CommonParameters>]
297304```
You can’t perform that action at this time.
0 commit comments