WebSocket

0.1.3

Work with WebSockets in PowerShell

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name WebSocket

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name WebSocket

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

2024 StartAutomating

Package Details

Author(s)

  • James Brundage

Tags

WebSocket WebSockets Networking Web

Functions

Get-WebSocket

Dependencies

This module has no dependencies.

Release Notes

> Like It? [Star It](https://github.com/PowerShellWeb/WebSocket)
> Love It? [Support It](https://github.com/sponsors/StartAutomating)

## WebSocket 0.1.3

WebSocket server support!

### Server Features

For consistency, capabilities, and aesthetics,
this is a fairly fully features HTTP server that happens to support websockets

* `Get-WebSocket` `-RootURL/-HostHeader` ( #47 )
* `-StyleSheet` lets you include stylesheets ( #64 )
* `-JavaScript` lets you include javascript ( #65 )
* `-Timeout/-LifeSpan` server support ( #85 )

### Client Improvements

* `Get-WebSocket -QueryParameter` lets you specify query parameters ( #41 )
* `Get-WebSocket  -Debug` lets you debug the websocketjob. ( #45 )
* `Get-WebSocket -SubProtocol` lets you specify a subprotocol (defaults to JSON) ( #46 )
* `Get-WebSocket -Authenticate` allows sends pre-connection authentication ( #69 )
* `Get-WebSocket -Handshake` allows post-connection authentication ( #81 )
* `Get-WebSocket -Force` allows the creation of multiple clients ( #58 )


### General Improvements

* `Get-WebSocket -SupportsPaging` ( #55 )
* `Get-WebSocket -BufferSize 64kb` ( #52 )
* `Get-WebSocket -Force` ( #58 )
* `Get-WebSocket -Filter` ( #42 )
* `Get-WebSocket -ForwardEvent` ( #56 )
* `Get-WebSocket` Parameter Sets ( #73, #74 )
* `-Broadcast` lets you broadcast to clients and servers ( #39 )
* `Get-WebSocket` quieting previous job check ( #43 )

---

Additional details available in the [CHANGELOG](https://github.com/PowerShellWeb/WebSocket/blob/main/CHANGELOG.md)

FileList

Version History

Version Downloads Last updated
0.1.3 (current version) 17 3/22/2025
0.1.2 101 12/20/2024
0.1.1 133 12/4/2024
0.1 13 11/27/2024