"Daraja" means "bridge" in Swahili. The Daraja Framework serves as a bridge between incoming HTTP requests and the Object Pascal code that handles them
Daraja HTTP Server Framework : Google Identity example for refresh token
This application demonstrates a local web server that retrieves access and refresh tokens for Google Cloud authentication, emphasizing security through PKCE and client secret omission.
Daraja HTTP Server Framework : Microsoft Entra ID example for OpenID Connect Refresh Token
This application demonstrates launching a local web server that requests access and refresh tokens from Microsoft Entra ID, with security features like PKCE included.
How to: Server-Sent Events with Indy HTTP Server (part 1)
In this article, a server application uses the Indy HTTP server to provide a HTML page which uses SSE to update its content with data sent from the server. Server-Sent Events (SSE) is a server push technology enabling a client to receive automatic updates from a server via an HTTP connection, and describes how servers … Continue reading How to: Server-Sent Events with Indy HTTP Server (part 1)
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
Daraja Framework 1.0 released
Daraja Framework is a new free open source library for Object Pascal (Free Pascal 2.6.4, Free Pascal 3.0, Delphi 2009+) available on GitHub. It is based on the stand-alone HTTP server in Internet Direct (Indy) and the successor to the Habari Web Components library by Habarisoft. With the Daraja Framework, writing well organized stand alone … Continue reading Daraja Framework 1.0 released