Skip to content

Instantly share code, notes, and snippets.

@Tim-S
Tim-S / wsClient.html
Created July 20, 2022 17:15
Powershell WebSocket Echoserver
<!DOCTYPE html>
<meta charset="utf-8" />
<title>WebSocket Test</title>
<script language="javascript" type="text/javascript">
var wsUri = "ws://localhost:5001/";
var output;
function init() {
output = document.getElementById("output");
@Tim-S
Tim-S / wsClient.html
Last active July 20, 2022 04:44
Simple PowerShell Websocket server
<!DOCTYPE html>
<meta charset="utf-8" />
<title>WebSocket Test</title>
<script language="javascript" type="text/javascript">
var wsUri = "ws://localhost:5001/";
var output;
function init() {
output = document.getElementById("output");