unit MistralAI.Httpx; need windows unit <> not usable on android
is it possible to add a directive to have compatibilty with android and ios ?
unit MistralAI.Httpx;
{-------------------------------------------------------------------------------
Github repository : https://github.com/MaxiDonkey/DelphiMistralAI
Visit the Github repository for the documentation and use examples
------------------------------------------------------------------------------}
interface
uses {$ifdef mswindows} Winapi.Windows, Winapi.ShellAPI, {$endif} System.SysUtils, System.Classes, System.Net.URLClient, System.Net.HttpClient, System.Net.HttpClientComponent, System.NetEncoding;
Thank you for your suggestion!
The library is already designed to be cross-platform. All the main units (System.Net.*, System.SysUtils, etc.) are supported on Android and iOS, and any Windows-specific dependencies are wrapped in conditional directives.
Please also refer to the detailed answer I provided in the following issue https://github.com/MaxiDonkey/DelphiMistralAI/issues/3