AMQP Receive Messages (3 / 3)

AMQP allows to receive the messages in 2 modes: Request by Client: using the GetMessage method. If there aren't messages in the queue, the event OnAMQPBasicGetEmpty will be called.Pushed by Server: using the Consume method. Consume  Consumers consume from queues. In order to consume messages there has to be a queue. When a new consumer is adde...

Continue reading

AMQP Publish Messages (2 / 3)

The method PublishMessages is used to send a message to the AMQP server. AMQP Servers automatically bind the queues to "direct" exchange using the queue name as routing key. This allows to send a message to a specific queue without the need to declare a binding (just calling PublishMessage method and pasing the Exchange argument as empty value and ...

Continue reading

AMQP Exchanges and Queues (1 / 3)

From sgcWebSockets 2022.1 AMQP 0.9.1 protocol is supported. The Advanced Message Queuing Protocol (AMQP) is an open standard application layer protocol for message-oriented middleware. The defining features of AMQP are message orientation, queuing, routing (including point-to-point and publish-and-subscribe), reliability and security...

Continue reading

Telegram TDLib error: UPDATE_APP_TO_LOGIN

If you get the error code 406 "UPDATE_APP_TO_LOGIN", means that the TDLib version is outdated and must be updated to latest 1.7.9 version, the reason is that Telegram has migrate to 64-Bit identifiers and previous versions are not compatible, so it's not possible login with a phone (login with an existing account and QR code is still possible ...

Continue reading

Telegram Request Phone Number or Location

From sgcWebSockets 2022.1 the Telegram Client component is able to request the user the Phone Number or the location when has login as a bot. Find below an example code in Delphi, CBuilder and .NET Delphi Example  oReplyMarkup := TsgcTelegramReplyMarkupShowKeyboard.Create;Try oReplyMarkup.AddButtonTypeRequestPhoneNumber('Give me your phone'); ...

Continue reading

Pusher Custom Authentication

From sgcWebSockets 2022.1, the sgcWebSockets Pusher client allows to implement your own custom authentication. Pusher only allow subscribe to private or presence channels, if the connection provides an authentication token, this allows to restrict the access. You can build your own Authentication flow, using OnPusherAuthentication event, this event...

Continue reading

sgcWebSockets 4.5.4

Rad Studio  Here is the comprehensive list of new features and bug fixes included in sgcWebSockets 4.5.4: [+] : Improved TLSOptions.Version property, now if the value is tlsUndefined (the default), the client will try to negotiate all possible TLS versions (from TLS 1.3 to TLS 1.0), before this change the TLS 1.0 was selected. [+] : Improved A...

Continue reading

sgcWebSockets .NET MacOS 64

From sgcWebSockets .NET 4.5.4, MacOS 64 bits is supported, so now you can compile Visual Studio Mac Applications for Mac OS 64 bits. The components supported by MacOS are the same that for Windows, so you can build multi-platform applications using sgcWebSockets .NET library. Find below a video which shows how install sgcWebSockets .NET package on ...

Continue reading
Tags:

sgcWebSockets .NET Community nuget package

sgcWebSockets .NET has a new edition called sgcWebSockets .NET Community Edition which is free for non-commercial applications. The package can be downloaded from nuget.org from the following link https://www.nuget.org/packages/esegece.sgcWebSockets/ Find below a video which show how install and use sgcWebSockets .NET nuget package. Video 

Tags:

Twilio Delphi Send a SMS Message

Find below a simple example of how to send a Twilio SMS message using sgcWebSockets library. Twilio Code  Just pass to the method the parameters: Phone from the message is sent, Phone where the message should be delivered, and the text Message. Set your own Twilio Account Sid and Twilio Auth Token. uses sgcHTTP;procedure SendTwilioSMS(const aF...

Continue reading

MacOS Monterey error loading openSSL libraries

After upgrading to MacOS Monterey, you may experience an error trying to load the openSSL libraries. Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI. This error appears when trying to load an unversioned dylib instead of a library with a revision number. To avoid this error, there is a ne...

Continue reading

sgcWebSockets 4.5.3

Rad Studio  Here is the comprehensive list of new features and bug fixes included in sgcWebSockets 4.5.3:  [+] : Added support for OpenSSL 3.0.0 [+] : New Component TsgcWSAPIServer_RTCMultiConnection, server implementation of RTCMultiConnection project based on WebRTC which allows: MultiVideoConferences, Screen Sharing and Video Broadcast...

Continue reading

OpenSSL 3.0 Indy Delphi and .NET

From sgcWebSockets 4.5.3, the openSSL 3.0 libraries are supported for the following compilers: Delphi 7 - Rad Studio 11 Windows 32/64OSX 64Android 32/64iOS 64Linux 64.NETWindows 32/64 OpenSSL 3.0  OpenSSL it's a major release with several internal changes, but it doesn't offers several advantages over 1.1 The openSSL libraries have been rename...

Continue reading

RTCMultiConnection Delphi Server API

From sgcWebSockets 4.5.3, RTCMultiConnection is supported. RTCMultiConnection is a WebRTC JavaScript library for peer-to-peer applications (screen sharing, audio/video conferencing, file sharing, media streaming etc.) Configuration The RTCMultiConnection requires a WebSocket server for Signaling, so link the server property of RTCMultiConnecti...

Continue reading

Pusher REST API

sgcWebSockets Pusher client has been improved on 4.5.3 version, the HTTP API has been implemented allowing to trigger events, get users of a channel and get a list of channels. Pusher is a hosted WebSockets solution for building powerful realtime interactive apps. The sgcWebSockets client allows to use the following pusher channels: Public Channels...

Continue reading

sgcWebSockets 4.5.2

Here is the comprehensive list of new features and bug fixes included in sgcWebSockets 4.5.2: [+] : Added support for Rad Studio 11 Alexandria. [+] : New Component TsgcTURNServer, implements the STUN/TURN Server Protocol. [+] : New Component TsgcTURNClient, implements the STUN/TURN Client Protocol. [+] : New Demo which shows how use TURN Server and...

Continue reading

Rad Studio 11 Alexandria

Rad Studio 11 Alexandria has been released and sgcWebSockets 4.5.2 version supports it. Customers with an active subscription can download latest version with support for Rad Studio 11. You can check here the new features https://www.embarcadero.com/products/rad-studio/whats-new-in-11-alexandria?aldSet=en-GB

DevExtreme Datagrid WebSocket Protocol

DevExtreme Data Grid, from DevExpress, it's a powerful Data Grid for Javascript. One of the features it's partial updates which allows to update a record of a grid without updating the full page. Usually the update is received using WebSocket protocol. sgcWebSockets library can be used with DevExtreme Data Grid, allowing to update the Grid in Real-...

Continue reading

Delphi 3Commas Client

From sgcWebSockets 4.5.2, 3Commas API is supported. 3Commas is a cryptocurrency trading platform designed to help you build automated trading bots. APIs supportedWebSockets API: connect to a public websocket server and provides real-time market data updates.REST API: The REST API has endpoints for account and order management as well as public...

Continue reading

Telegram Libraries Updated

sgcWebSockets supports Telegram TDLib, so you can build your own Telegram Client for any Delphi personality: Windows 32Windows 64Mac OSXiOSAndroidLinux64 The Telegram libraries have been updated to the latest TDLib version 1.7.6. Customers with an Active subscription can download from private account. Review the changelog from the following li...

Continue reading