Deep Dive into sgcWebSockets WebAuthn Server

The TsgcWSAPIServer_WebAuthn component is a Delphi/FPC server module that implements the relying‑party side of the WebAuthn protocol over HTTPS. It integrates with TsgcWebSocketHTTPServer or TsgcWebSocketServer, and it exposes REST‑like endpoints for registration and authentication.  Endpoint Mechanics By default, the component registers ...

Continue reading

WebAuthn, Passkeys, and the End of Passwords

WebAuthn is the authentication layer of the FIDO2 standard. Instead of depending on user‑remembered secrets, it employs asymmetric cryptography. During registration, a user's authenticator (hardware key, secure enclave, TPM, etc.) generates a private–public key pair scoped to the relying party domain. The browser sends the public key and attestatio...

Continue reading

Using WebSocket Client in .NET

TsgcWebSocketClient is the .NET wrapper around the sgcWebSockets runtime client. It inherits all core WebSocket capabilities from TsgcWebSocketClient_base, giving .NET applications a component-style API for connecting, sending, and receiving over WebSockets   Key Properties Host & Port – target server endpointOptions.Parameters – URL path ...

Continue reading
Tags:

sgcWebSockets 2025.7

Rad Studio [+] : Improved WebAuthn: added support for PS256, PS384 and PS512 algorithms. [+] : Improved WebAuthn: new property WebAuthnOptions.MDS to configure the Fido Metadata Service. [+] : Improved HTTP.SYS: added support for the WebAuthn protocol. [+] : Updated the OpenSSL libraries to the version 3.5.1 [+] : Improved STOMP Protocol: added a n...

Continue reading

sgcWebSockets 2025.6

Rad Studio [+] : Improved OpenAI Assistant: new event OnFunctionCall which allows to interface OpenAI models with your code, database, applications... [+] : Updated the OpenAI Assistant Demo with a new Assistant "Delphi Weather Bot" showing how it works. [+] : Improved Whatsapp API: updated api to v20. [+] : Improved Whatsapp API: new method SendMe...

Continue reading

OpenAI Function Calling

 Similar to the Chat Completions API, the Assistants API supports function calling. Function calling allows you to describe functions to the Assistants API and have it intelligently return the functions that need to be called along with their arguments. In this example, we'll create a weather assistant and define two functions, get_current_tem...

Continue reading

sgcWebSockets 2025.5

Rad Studio [+] : Improved WebAuthn Server: new events to handle better the Options request/response for the Registration and Authentication flows. - OnWebAuthnRegistrationOptionsRequest: allows to cancel an undesired registration request. - OnWebAuthnRegistrationOptionsResponse: allows to customize the registration options response. - OnWebAuthnAut...

Continue reading

OpenAI RealTime API

From sgcWebSockets 2025.5.0 the OpenAI RealTime API is supported (currently only transcription mode). The OpenAI Realtime API enables low-latency, multimodal interactions including speech-to-speech conversational experiences and real-time transcription. The component TsgcWSAPI_OpenAI implements the RealTime OpenAI API. Configuration Use the method ...

Continue reading

sgcWebSockets 2025.4

Rad Studio [+] : New WebAuthn Server Component: Implements the WebAuthn Server Specification, a web standard for secure, passwordless authentication. Currently in BETA. [+] : New WebAuthn Demo: Demonstrates how to register and authenticate using the TsgcWSAPIServer_WebAuthn component. Available in the folder "Demos\20.HTTP_Protocol\12.WebAuthn". [+...

Continue reading

WebAuthn Server

From sgcWebSockets 2025.4.0 Enterprise, the  WebAuthn Protocol is supported (currently in BETA).  WebAuthn (Web Authentication) is a web standard developed by the World Wide Web Consortium (W3C) and FIDO Alliance to enable secure, passwordless authentication on the web. It is part of the broader FIDO2 framework and aims to reduce rel...

Continue reading

sgcWebSockets AI Support

Registered users now have access to an advanced support tool designed specifically for developers utilizing the sgcWebSockets library from eSeGeCe Software. This tool leverages a specialized ChatGPT model trained exclusively for this library, ensuring tailored assistance.To access this feature, simply log in to your private account and navigate to ...

Continue reading

sgcWebSockets 2025.3

Rad Studio [+] : Added Support for Rad Studio 12.3 [+] : Improved Setup, a new option "Build Rad Studio IDE Win64" allows to install the package for the 64-bit IDE, by default is disabled. [+] : Improved TsgcWebSocketClient, when using SChannel there is a new event "OnSChannelVerifyPeer" to validate manually the certificate. [+] : Improved HTTPClie...

Continue reading

Rad Studio 12.3 IDE 64 bits

From sgcWebSockets 2024.3 the Rad Studio IDE for 64 bits is supported when using the automatic installer.  Configuration There is a new option, "Build Rad Studio IDE Win64," in the setup to allow the installation of components in the new IDE (disabled by default). When this option is selected, the components will be installed in both the 32-bi...

Continue reading

HTTP/1 Client Asynchronous

By default the TsgcHTTP1client uses blocking requests, so after calling an HTTP Request method, the client waits the response from the server. From sgcWebSockets 2025.3.0 you can use Asynchronous methods to execute these HTTP Requests in a secondary thread avoiding to block the thread where the requests is called. The following asynchronous methods...

Continue reading

OpenSSL Load Additional Functions

By Default Indy defines the most common openssl functions needed to encrypt the communications, but sometimes you need more functions for encryption, signing... From sgcIndy 2025.3.0 you can use the new method IdOpenSSLSetLoadFuncsCallback to assign a callback for loading additional OpenSSL functions dynamically. IdOpenSSLSetLoadFuncsCall...

Continue reading

sgcWebSockets 2025.2

Rad Studio [+] : Improved Socket.IO Client, new property HandShakeAuthToken to set the authentication token when required. [+] : Improved Socket.IO sample, the previous online server has been closed and now has been replaced by a new one. [+] : Improved Setup, now if detects the IDE is running aborts the installation until it's closed. [+] : Improv...

Continue reading

sgcWebSockets 2025.1

Rad Studio [+] : Improved OpenAPI Parser, added support for multipart/form-data requests. [+] : Improved OpenAI Assistant Demo, now can load the existing assistants created using other tools like openAI Playground. [+] : Improved OpenAI Assistant, now supports Streaming the responses using Server-Sent events streams. [+] : Improved OpenAI Assistant...

Continue reading

Coinbase Advanced Trading API

From sgcWebSockets 2025.1.0 the Coinbase Advanced Trading API is supported for WebSocket and REST Interfaces. The version supported is v3. WebSocket API The WebSocket feed is publicly available and provides real-time market data updates for orders and trades. Two endpoints are supported in production: Market Data is our traditional feed that provid...

Continue reading

OpenAI Assistants Streaming

The OpenAI Assistant Client has been improved to implement the streaming responses when calling a run thread. Before this new feature, it requires to poll the run object status till it's completed. Now you can use the new Stream events to handle the streaming messages. Streaming Events Instead of waiting the full response from the assistant, y...

Continue reading

BlackFriday 30% Discount

This Black Friday, we're offering 30% OFF on all our products. Offer valid until November 30th. Use the following coupon code to apply the discount: BF24 https://www.esegece.com/buy