Apple Push Notifications - Certificates Based Connections to APNs (Part 4/4)

In the latest entry blog about Apple Push Notifications, I show how use certificates to authenticate against Apple Push Servers. First enter in your developer account and create a new certificate for Apple Push Notification service Once you have downloaded your certificate, the sgcWebSockets HTTP/2 client allows to use 2 security IOHandlers (only f...

Continue reading

Apple Push Notifications - Token Based Connections to APNs (Part 3/4)

In this blog I will show how configure the sgcWebSockets JWT Client to send authenticated HTTP/2 requests to Apple Push Notification Servers. Secure your communications with Apple Push Notification service (APNs) by using stateless authentication Tokens. First you must obtain an Encryption Key and a Key ID from Apple Developer Account. Once a ...

Continue reading

Apple Push Notifications - Send HTTP/2 notifications (Part 2/4)

In the previous blog, I show how retrieve a device token, now I will show how use the HTTP/2 sgcWebSockets client to send a notification (without the authentication part). Send your remote notification payload and device token information to Apple Push Notification service (APNs). How Connect to APNs You must use HTTP/2 protocol and at least TLS 1....

Continue reading

Apple Push Notifications - Register your App (Part 1/4)

sgcWebSockets library supports HTTP/2 protocol on Server and Client side components, Apple Push Notifications only allows to send Push Notifications from a Server Provider using HTTP/2 protocol, so in the following articles I will show how send push notifications using sgcWebSockets library. The Server Provider (who sends the push notifications to ...

Continue reading
Tags:

OAuth2 Client Credentials

OAuth2 Client Component now supports Client Credentials as grant type, this type of grant is commonly used for server-to-server interactions that must run in the background, without immediate interaction with a user. These types of applications are often referred to as daemons or service accounts. OAuth2 Flow Client Credentials  Azure OAuth2 G...

Continue reading

HTTP Post Big Files

sgcWebSockets Servers allow to Post Big Files without affecting the server memory.  When a HTTP client sends a multipart/form-data stream, the stream is saved by server in memory. When the files are big, the server can get an out of memory exception, to avoid these exceptions, the server has a property called HTTPUploadFiles where you can conf...

Continue reading

openSSL 1.1.1k

The latest openSSL libraries have been compiled and updated for sgcWebSockets users with an active license, the following libraries are available: 1. Windows322. Windows643. OSX644. Android645. iOS64 Read the following QuickStart about openSSL to get more info about how configure sgcWebSockets with openSSL libraries: https://www.esegece.com/help/sg...

Continue reading

sgcWebSockets 4.4.8

 Here is the comprehensive list of new features and bug fixes included in sgcWebSockets 4.4.8: [+] : New Component TsgcHTTP_JWT_Client, allows to encode and sign JWT Tokens as Authentication Bearers in HTTP/1, HTTP/2 and WebSocket Client Components. [+] : New Component TsgcHTTP_JWT_Server, allows to decode and validate JWT Tokens as Authentica...

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

JWT Delphi Server

From sgcWebSockets 4.4.8 JWT Tokens are supported on Server Components. The TsgcHTTP_JWT_Server component allows to decode and validate JWT tokens received in WebSocket Handshake when using WebSocket protocol or as HTTP Header when using HTTP protocol. Configuration  You can configure the following properties in the JWTOptions property of the ...

Continue reading

WebSocket Send File .NET

From sgcWebSockets 4.4.8, WebSocket Protocol Files is supported by sgcWebSockets .NET Library. This protocol allows sending files using binary WebSocket transport. It can handle big files with a low memory usage. Features Publish/subscribe message pattern to provide one-to-many message distribution and decoupling of applications.Acknowledgment of m...

Continue reading
Tags:

Kraken Futures API

From sgcWebSockets 4.4.8 Kraken Futures API is supported https://futures.kraken.com/ The following APIs are supported: WebSockets Public API: connects to a public WebSocket server.WebSockets Private API: connects to a private WebSocket server and requires an API Key and API Secret to Authenticate against server.REST Public API: connects to a p...

Continue reading

OpenSSL Perfect Forward Secrecy

From sgcWebSockets 4.4.8 there are small modifications in library to improve security of connections. One of them is Perfect Forward Secrecy When you use the RSA key exchange mechanism, it creates a link between the server's key pair and the session key created for each unique secure session. Thus, if an attacker is ever able to get hold ...

Continue reading

Coinbase Pro REST API

From sgcWebSockets 4.4.8, Coinbase Pro REST API is fully supported. The REST API allows to access to public Market Data and Private Accounts, place new orders... sgcWebSockets library supports the following endpoints Authentication, Accounts, Orders,  Fills, Limits, Deposits, Withdrawals, Stablecoin...

Continue reading

WebSocket Masked Messages

From sgcWebSockets 4.4.8 the Log of websocket messages has been improved. Till now, the messages were saved as was sent/received by socket, this means that when a websocket message was sent by websocket client, this was first masked and then saved to log. As the message was masked, it can't be read easily so the log was useless for the websock...

Continue reading

WebSockets Server Delphi and CBuilder

QuickStart 1. Create a new Window Forms Application 2. Drop a TsgcWebSocketServer onto a Form. 3. On Events Tab, Double click OnMessage Event, and type following code: procedure OnMessage(Connection: TsgcWSConnection; const Text: string);begin ShowMessage('Message Received From Client: ' + Text);end; 4. Drop a Button onto the Form, Double Click and...

Continue reading

WebSockets Client Delphi and CBuilder

QuickStart  1. Create a new Window Forms Application 2. Drop a TsgcWebSocketClient onto a Form and configure Host and Port Properties to connect to Server. 3. Drop a TButton in a Form, Double Click and type this code:  TsgcWebSocketClient1.Active := True; 4. Drop a Button onto the Form, Double Click and type this code:  TsgcWebSocket...

Continue reading

SignalR Core Delphi

 ASP.NET Core SignalR is an open-source library that simplifies adding real-time web functionality to apps. Real-time web functionality enables server-side code to push content to clients instantly. Good candidates for SignalR: Apps that require high-frequency updates from the server. Examples are gaming, social networks, voting, auction, maps...

Continue reading

sgcWebSockets 4.4.7

Here is the comprehensive list of new features and bug fixes included in sgcWebSockets 4.4.7: [+] : New Client Component TsgcWSAPI_Coinbase, Coinbase is a platform that allows to buy, sell and store cryptocurrencies like Bitcoin, Ethereum... [+] : Improved Demo 01.WebSocket_Quick_Start\02.WebSocket_Clients_APIs, a new Tab has been added to show how...

Continue reading

SChannel Certificates

From sgcWebSockets 4.4.7 the use of Certificates using SChannel as crypto library is supported. The SChannel implementation supports 2 types of certificate authentication: 1. Using a PFX certificate 2. Setting the Hash Thumbprint of an already installed certificate in the windows system. PFX Certificate  PFX Certificate is a file that con...

Continue reading