Amazon SQS Component

Amazon Simple Queue Service (SQS) is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications. SQS eliminates the complexity and overhead associated with managing and operating message oriented middleware, and empowers developers to focus on differentiating work. ...

Continue reading

Discord API Component

From sgcWebSockets 4.3.5 Discord API is partially supported, supports the following methods: 1. Bot Authorization 2. Automatic HeartBeat. 3. WebSocket Gateway. 4. HTTP Requests: GET, POST, PUT, PATCH and DELETE. Discord API Component Discord is one of the most popular communication tools for online gaming and streaming.. https://www.esegece.com/hel...

Continue reading

SignalR Server and Client C#

sgcWebSockets supports SignalR and SignalRCore protocols, now we will see an example of how connect to a SignalR Server using a c# sample from CodeProject webpage, you can access to article using the following link: https://www.codeproject.com/Articles/5162436/Simple-SignalR-Server-and-Client-Applications-Demo#_articleTop This article shows ho...

Continue reading

FMXLinux Components

Embarcadero announced some time ago FMXLinux support, basically allows to use graphical components in Linux64 apps. sgcWebSockets supports FMXLinux so you can use these components to create a graphical interface and sgcWebSockets to connect to any server supported. You can view the following screenshot which shows how a MQTT client is working in Ub...

Continue reading

Indy Components and OpenSSL 1.1.1

In latest years, Indy have not been updated or only fixes have been applied, and several new features have not been implemented which are very important for sgcWebSockets package. To fix this, I've been working in latest months to provide a custom indy package with more features. Registered users can download custom indy package from some versions ...

Continue reading

Google API Key OAuth2

From sgcWebSockets 4.3.4, OAuth2 is supported. Google provides access to these APIs using OAuth2 authentication, so you first must get the OAuth2 Client ID and Client Secret before you can connect to Google Services. sgcWebSockets make use of standard web browser to request a new Authorization Code. If a refresh token is provided, it will upda...

Continue reading

OAuth2 Delphi WebSockets

OAuth2 allows to third-party applications to get access to restricted resources using HTTP protocol. RFC 6749 covers OAuth2 specification. There are 4 roles: ClientResource OwnerAuthorization ServerResource Server OAuth2 Flow  (A) The client requests authorization from the resource owner. The authorization request can be made directl...

Continue reading

Indy IOCP Server

Indy servers use one thread for every connection, this means that if your server must handle 1000 concurrent connections, it will create 1000 threads. But if instead of 1000 connections there are 10.000 connections, it creates 10.000 threads and so on... of course, this requires exponential hardware resources and it's not usable for high load ...

Continue reading

Could not load SSL library

Some libraries, like Indy, use openssl to connect to secure servers using TLS. As some components from sgcWebSockets package are based on Indy library, make use of openssl libraries and sometimes you get an error message when you can load a library. There are several reasons why you can't load the openssl library. In the following lines I will...

Continue reading

WebSocket Upload File Demo

This is a demo which shows how upload a file to a websocket server. Follow the next steps: Select a file which will be sent to server.Then press connect. If connection is successful a message will show you are connected to server.Press upload button and when file has been transferred you will see a message confirming this. Upload File Demo Select f...

Continue reading