Delphi Google Sign-In Login

From sgcWebSockets 2022.5.0 there is a new class that simplifies the process of authenticate an user using the Google Account as Authentication. The class let you login with your Google Account in an easy way. Configuration  The module requires first configure your OAuth2 Application in your Google Account, once are configure just add a couple...

Continue reading

Pusher Cache Channels

From sgcWebSockets 2022.4.0 the Pusher Cache Channels are supported. Currently the following Cache channels are available: Public Cache ChannelsPrivate Cache ChannelsPresence Cache Channels Cache Channels  A cache channel remembers the last triggered event, and sends this as the first event to new subscribers. When an event is triggered on a c...

Continue reading

Authorization using External OAuth2 Providers

From sgcWebSockets 2022.3.0, you can use external OAuth2 Providers to Authenticate the Requests received by your server. The OAuth2 Server Provider Component allows to integrate External OAuth2 Providers (like Azure AD, Google, Facebook...) in your server component (like an HTP server), so an user can login using the Azure AD credentials and if the...

Continue reading

Delphi Kucoin Futures API Client

From sgcWebSockets 2022.3.0, Kucoin Futures API is supported. Kucoin is an international multi-language cryptocurrency exchange. It offers some APIs to access Kucoin data. The following APIs are supported: WebSocket streams: allows to subscribe to some methods and get data in real-time. Events are pushed to clients by server to subscribers. Us...

Continue reading

Delphi Kucoin API Client

From sgcWebSockets 2022.3.0, Kucoin API is supported. Currently the following APIs are implemented: WebSocket streams: allows to subscribe to some methods and get data in real-time. Events are pushed to clients by server to subscribers. Uses WebSocket as protocol.REST API: clients can request to server market and account data. Requires an API Key, ...

Continue reading

Bitmex Delphi Client Updated

From sgcWebSockets 2022.1, the Bitmex REST API is supported, this means that now you can place orders, cancel existing orders, get executions, position... and much more. Place Orders  The Bitmex REST API offer public and private endpoints. The Private endpoints requires that messages signed to increase the security of transactions. First you m...

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

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

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

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

Delphi STUN/TURN Server and Client (4/4)

From sgcWebSockets 4.5.2, you can build your own STUN/TURN Server and Clients using sgcWebSockets library. STUN Session Traversal Utilities for NAT (STUN) (acronym within an acronym) is a protocol to discover your public address and determine any restrictions in your router that would prevent a direct connection with a peer. The client will send a ...

Continue reading

Delphi TURN Server Component (3/4)

From sgcWebSockets 4.5.2, TURN protocol is supported on Server components. TsgcTURNServer is the server that implements the TURN Protocol and allows to process requests from TURN clients. The component inherits from TsgcSTUNServer, so all methods and properties are available on TsgcTURNServer. TURN Server supports Long-Term Authentication, All...

Continue reading

Delphi TURN Client Component (2/4)

From sgcWebSockets 4.5.2, TURN protocol is supported on Client Components.  TsgcTURNClient is the client that implements the TURN Protocol and allows to send allocation requests to TURN servers. The client inherits from STUN Client, so all methods supported by the STUN Client are already supported by TURN Client. Basic Usage  Us...

Continue reading

Delphi TURN Protocol (1/4)

From sgcWebSockets 4.5.2 version, TURN protocol is supported on Server and Client components. STUN Protocol was already supported on previous versions. Traversal Using Relays around NAT (TURN) protocol enables a server to relay data packets between devices. If the public IP address of both the caller and callee is not discovered, TURN provides a fa...

Continue reading

Delphi CryptoHopper Client

From sgcWebSockets 4.5.1 CryptoHopper API is partially supported. CryptoHopper it's an automated crypto trading bot that allows to automate trading and portfolio management for Bitcoin, Ethereum, Litecoin and more. Configuration  Requires a Developer Account and once you have been approved you can start to create a new App. The API uses O...

Continue reading

Delphi RCON Client

From sgcWebSockets 4.5.1 RCON protocol is supported. The Source RCON Protocol is a TCP/IP-based communication protocol used by Source Dedicated Server, which allows console commands to be issued to the server via a "remote console", or RCON. The most common use of RCON is to allow server owners to control their game servers without direct acce...

Continue reading

Delphi FTX API Client

From sgcWebSockets 4.5.0 FTX API is supported. APIs supported WebSockets 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 market data. FTX WebSocket API  In order to connect to FTX WebSocket API, just create a new FTX API...

Continue reading

Delphi STUN Server and Client

STUN (Session Traversal Utilitiies for NAT) it's an IETF protocol used for real-time audio video in IP networks. STUN is a server-client protocol, a STUN server usually operates on both UPD and TCP and listens on port 3478. The main purpose of the STUN protocol is to enable a device running behind a NAT discover its public IP and what type of NAT i...

Continue reading

JWT Delphi Client

From sgcWebSockets 4.4.8 JWT is supported on Client components like WebSocket Client and HTTP/2 Client. The TsgcHTTP_JWT_Client component allows to encode and sign JWT Tokens, attached to a WebSocket Client or HTTP/2 client, the token will be sent automatically as an Authorization Bearer Token Header. Configuration   You can configure the...

Continue reading