Skip to content

Instantly share code, notes, and snippets.

View peppertech's full-sized avatar

John Brock peppertech

View GitHub Profile
@peppertech
peppertech / index.html
Created February 15, 2022 17:47 — forked from adunkman/index.html
Relay messages from RabbitMQ to a browser using Socket.io
<!DOCTYPE html>
<html>
<head>
<script src="/socket.io/socket.io.js"></script>
<script>
(function () {
var onMessage = function (data) {
// Do something with the message data
};