pipa-js 0.1.1

A fast, minimal ES2023 JavaScript runtime built in Rust.
Documentation
1
2
3
4
5
6
7
8
9
// WebSocket echo test
// Uses a simple blocking WS client through a custom endpoint

var url = "ws://localhost:8080";  // Change this to a real WS echo server

// Start a WS connection using the same blocking HTTP approach
console.log("Testing WebSocket echo...");
console.log("Run: cargo test --features fetch --test fetch_tests -- --test-threads=1");
console.log("For local WS echo, start: python3 -m pywebsocketx3 -p 8080");