Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

PascalWebSocket

A simple websocket client, built over Indy TIdTCPClient

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

(Simple) Pascal WebSocket Client

This is a WebSocket client for Delphi, providing an easy-to-use interface for communicating with WebSocket servers.

Features

  • Support for secure WebSocket connections (wss)
  • Events for data reception, errors, ping, and connection
  • Support for sending and receiving text messages

Requirements

  • Delphi XE7 or higher
  • Indy 10

Installation

Via Boss

Boss is a package manager for Delphi. To install the PascalWebSocket Client using Boss, follow the steps below:

  1. Install Boss if you haven't already. You can find instructions in the official Boss repository.
  2. In your Delphi project, run the following command in the terminal:
    bash
    boss install github.com/arvanus/PascalWebSocket

Manually

  1. Download or clone this repository:
    bash
    git clone https://github.com/arvanus/PascalWebSocket.git
  2. Add the project directory to your Delphi Library Path.

Usage Example

Check the existing examples in the Sample folder.

Contribution

Feel free to contribute to this project. You can open issues or submit pull requests with improvements and fixes.

License

This project is licensed under the MIT License. See the LICENSE file for details.


(Simple) Pascal WebSocket Client

Este é um cliente WebSocket para Delphi, fornecendo uma interface fácil de usar para se comunicar com servidores WebSocket.

Recursos

  • Suporte para conexões WebSocket seguras (wss)
  • Eventos para recebimento de dados, erros, ping e conexão
  • Suporte para envio e recebimento de mensagens de texto

Requisitos

  • Delphi XE7 ou superior
  • Indy 10

Instalação

Via Boss

Boss é um gerenciador de pacotes para Delphi. Para instalar o PascalWebSocket Client usando Boss, siga os passos abaixo:

  1. Instale o Boss se ainda não o tiver instalado. Você pode encontrar instruções no repositório oficial do Boss.
  2. No seu projeto Delphi, execute o seguinte comando no terminal:
    bash
    boss install github.com/arvanus/PascalWebSocket

Manualmente

  1. Baixe ou clone este repositório:
    bash
    git clone https://github.com/arvanus/PascalWebSocket.git
  2. Adicione o diretório do projeto ao seu Delphi Library Path.

Exemplo de Uso

Verifique os exemplos existentes na pasta Sample

Contribuição

Sinta-se à vontade para contribuir com este projeto. Você pode abrir issues ou enviar pull requests com melhorias e correções.

Licença

Este projeto está licenciado sob a licença MIT. Veja o arquivo LICENSE para mais detalhes.