Submit templates for repl.it/templates here.

← Back to all posts
WebSocket Server Template
h
MrEconomical (2293)

Basic WebSocket Server

This is an extension of the HTTP server template I posted earlier that adds a WebSocket server. In the demo I built a very simple status indicator where you can see events and messages sent and received, as well as a simple chatroom.

Features

  • Fully-functioning HTTP server
  • Ready-to-use filesystem
  • Automatic protocol checking
  • Built-in websocket methods
  • Easy to understand
Comments
hotnewtop
xolyon (346)

the amount of templates you have made is scary

Highwayman (1482)

It just gets better and better this is sick :p