All Projects → staspiter → delphi-websocket

staspiter / delphi-websocket

Licence: MIT license
An easy-to-use lightweight Delphi WebSocket Server based on Indy

Programming Languages

pascal
1382 projects
HTML
75241 projects

Projects that are alternatives of or similar to delphi-websocket

osma
An open source mobile agent for achieving SSI
Stars: ✭ 41 (-21.15%)
Mutual labels:  indy

Delphi WebSocket Server

A simple and lightweight Delphi class that runs a WebSocket server. Initially, it was developed for CodeRage 2019. See the explanation and demonstration video on Embarcadero YouTube channel: https://www.youtube.com/watch?v=kg-rWjbKEUc

Contact

Features

  • Based on Indy TCP server
  • WSS (WebSocket Secured)

Included demos

  • Quick start - a basic demo that runs a server, that responds with received messages.
  • Circles - an advanced demo with entities, data streaming and actions.
  • WSS - demo of using an SSL/TLS certificate to run a secured WebSocket server.

Usage

  • Include WebSocketServer.pas unit.
  • Follow the first demo to create an instance of TWebSocketServer.
  • Define OnExecute event and handle it as a usual Indy TCP server.
  • Connect to the WebSocket from a JS code or use any WebSocket client.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].