You are not logged in.
Pages: 1
I'm using THttpApiServer to achieve this goal in the past, which works great.
But now I'm tring to port the application to Linux, so THttpApiServer is no longer an option.
Do I have to create multiple THttpServer instance to achieve the same goal?
Offline
Can you explain a little bit more?
Sure.
When I use THttpApiServer, I can add multiple routes with different ports using AddUrl.
For example:
AddUrl('test1','8056')
AddUrl('test2','8097')
But when I am using THTTPServer, it seems I can only pass the port parameter to the constructor, it does not support to bind different routes to different ports.
Offline
Pages: 1