You are not logged in.
Pages: 1
Hello,
This is possible and how to use services on Delphi FMX mobile platform?
Offline
Yes, you can create clients which work with FMX.
Online
Thank you for quick answer!
But can you explain also how I can rewrite my windows part of code for cross-platform?
What I should use instead TSQLHttpClientWebsockets and how to use NPM_KEY with connection
HttpClient := TSQLHttpClientWebsockets.Create(AnsiString(Computer.Value), AnsiString(sPort), TSQLModel.Create([]));
HttpClient.Model.Owner := HttpClient;
HttpClient.WebSocketsUpgrade(NPM_KEY);
if HttpClient.ServerTimeStampSynchronize then begin
HttpClient.ServiceDefine([IMsgService], sicShared);
HttpClient.Services.Resolve(IMsgService, MsgSvc);
end;
...
MsgSvc := nil;
if Assigned(HttpClient) then
FreeAndNil(HttpClient);
Last edited by EgorovAlex (2018-04-18 13:32:05)
Offline
Any way to use another connection type but with encryption?
Offline
Pages: 1