How to: Let’s Encrypt certificates with Indy HTTP Server

This article guides you through the setup for a simple HTTPS server using Let's Encrypt certificates. Download the project source The example project is included in the Daraja demo folder at https://github.com/michaelJustin/daraja-framework/tree/master/demo/https. You may use the project IndyHttpsTest with Delphi 6 or later, or with the Lazarus IDE. This stand-alone project only requires the Indy … Continue reading How to: Let’s Encrypt certificates with Indy HTTP Server

Daraja HTTP Framework 2.0 released

The Daraja HTTP Framework is a free open source library for Object Pascal (Free Pascal 3.0.4, Delphi 2009+), based on the stand-alone HTTP server component in Internet Direct (Indy). The 2.0 release uses const parameters in the Handle method of the IHandler interface and its implementing classes. old: - procedure Handle(Target: string; Context: TdjServerContext; Request: … Continue reading Daraja HTTP Framework 2.0 released

Habari Client libraries release 2019.06

Habarisoft released the 2019.06 version of its Object Pascal STOMP client libraries for application integration with open source message brokers Apache ActiveMQ, Artemis, OpenMQ and RabbitMQ. The release includes Habari Client for ActiveMQ 6.2 - tested with Apache ActiveMQ 5.15.9 Habari Client for Artemis 6.2 - tested with Apache ActiveMQ Artemis 2.8.1 Habari Client for … Continue reading Habari Client libraries release 2019.06

Consuming Server-Sent Events (SSE) with Indy TIdHTTP and TIdEventStream

A new Indy HTTP client / JAX-RS server example is now available on GitHub. The server side generates Server-sent events. Server-sent events (SSE) is a technology enabling a browser to receive automatic updates from a server via HTTP connection. The example code uses TIdHTTP and TIdEventStream to connect to the server, and writes the incoming … Continue reading Consuming Server-Sent Events (SSE) with Indy TIdHTTP and TIdEventStream

OpenCTF 1.6.0 component test framework released

The Open Component Test Framework (OpenCTF) is a test case generator framework for Delphi VCL applications, which creates DUnit tests at run time. The new version 1.6.0 is a maintenance release and is now available on GitHub at https://github.com/michaelJustin/openctf Example project [sourcecode lang="Delphi"] program FormTests; uses OpenCTF, ctfStandardTests, GUITestRunner, TestForm in 'TestForm.pas' {Form1}; begin OpenCTF.RegisterFormClasses([TForm1]); … Continue reading OpenCTF 1.6.0 component test framework released

Single file upload example using Indy TidHTTP and multipart/form-data

A new cross-language example for HTTP and REST is now available on GitHub. Description Single file upload example using Delphi client and Java server code and HTTP multipart/form-data Requirements Delphi 2009 or newer Indy 10.6.2 Java JDK 8 or newer Apache Maven WildFly application server Client [sourcecode lang="Delphi"] program IndyPostFormData; {$APPTYPE CONSOLE} uses IdHTTP, IdMultipartFormData, … Continue reading Single file upload example using Indy TidHTTP and multipart/form-data

Daraja HTTP Framework 1.2.5 released

The Daraja HTTP Framework is a free open source library for Object Pascal (Free Pascal 3.0.4, Delphi 2009+), based on the stand-alone HTTP server component in Internet Direct (Indy). The 1.2.5 release improves UTF-8 support for Free Pascal by "using" the LazUTF8 unit. More information - Home page: https://www.habarisoft.com/daraja_framework.html - API documentation: https://www.habarisoft.com/daraja_framework/1.2/docs/api/ - Getting … Continue reading Daraja HTTP Framework 1.2.5 released

Habari Client libraries release 2019.02

Habarisoft released the 2019.02 version of its Object Pascal STOMP client libraries for application integration with open source message brokers (Apache ActiveMQ, Artemis, OpenMQ and RabbitMQ). New in this release Delphi 6 support Linux support (experimental) for Delphi 10.3 Rio Fixed compiler error if HABARI_USE_INTERCEPT is enabled but HABARI_LOGGING is not Fixed compiler warnings and … Continue reading Habari Client libraries release 2019.02

Habari Client libraries release 2018.10

Habarisoft released the 2018.10 version of its Object Pascal STOMP client libraries for application integration with open source message brokers (Apache ActiveMQ, Artemis, OpenMQ and RabbitMQ). New in this release new simple API, based on interfaces MQContext, MQProducer and MQConsumer (the old API still may be used) Example: [sourcecode lang="Delphi" highlight="17,20"] procedure TNewApiTests.TestSendMessage; var Factory: … Continue reading Habari Client libraries release 2018.10