Skip to content

Commit d57630d

Browse files
author
James Brundage
committed
feat: Get-WebSocket honoring CloseStatusDescription ( Fixes #80 )
2 parents 8f767b3 + f078e7d commit d57630d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/Get-WebSocket.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,11 @@ Many websockets require an initial authentication handshake
314314
after an initial message is received.
315315
This parameter can be either a ScriptBlock or any other object.
316316
If it is a ScriptBlock, it will be run with the output of the WebSocket passed as the first argument.
317+
This will run after the socket is connected but before any messages are received.
317318

318-
|Type |Required|Position|PipelineInput|Aliases |
319-
|------------|--------|--------|-------------|----------------------|
320-
|`[PSObject]`|false |named |false |Authorize<br/>Identify|
319+
|Type |Required|Position|PipelineInput|Aliases |
320+
|------------|--------|--------|-------------|--------------------------|
321+
|`[PSObject]`|false |named |false |Authorize<br/>HelloMessage|
321322

322323
#### **Watch**
323324
If set, will watch the output of the WebSocket job, outputting results continuously instead of outputting a websocket job.

0 commit comments

Comments
 (0)