[Lazarus] new http client

Marco Roin marcoroin at gmail.com
Thu Oct 4 23:09:59 CEST 2018


Other thing. http client is a "remake" of fphttpclient.
The structure is pluggable and not monolitic.
So you can change base autorization mecanism with barel mecanism. For
example.
You can activate or not a "middleware" (piece of code that alterate
behavior of client class).
You can add new encoder for request messages. The encoder clone request
before send message, so untouch the original request message instance.
I've taken ispiration from slim framework (php world) for "middleware"
class name.

-- 
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20181004/d9752f4f/attachment.html>


More information about the Lazarus mailing list