Skip to content

A simple socket server that accepts HTTP requests and upgrades a connection to WebSockets.

Notifications You must be signed in to change notification settings

renanrv/simple-socket-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simple-socket-server

A simple socket server that accepts HTTP requests and upgrades a connection to WebSockets.

Description

The server accepts an HTTP GET connection. If the HTTP requests the enpoint '/ws', the server will upgrade the connection to WebSocket.

Dependencies

  • Python 2.7

Setup

  • $ git clone https://github.com/renanrv/simple-socket-server.git
  • $ cd simple-socket-server
  • $ python server.py

Tests

python -m unittest -v test

About

A simple socket server that accepts HTTP requests and upgrades a connection to WebSockets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages