Is there a guide for creating an RO http server with a different framework other than those you already have implemented? I was looking uIPAsyncHttpServer.pas and uROIndyHTTPServer.pas and it’s a bit confusing what must be implemented. I know my new class must inherit from TROBaseHTTPServer. Which of the two is better to follow when I have a custom finished http server that is also multi-threaded and a thread pool is not actually needed.
You can use Indy based version as a guide because it is more simple
in general, you should create creating a descendant of TROBaseHTTPServer and assign event handler to native server component like
So just to be clear, I need to create an equivalent TIndyHTTPTransport class?
And when ProcessRequest returns the properties you refer to that must be assigned
are
ResponseInfo.ContentType
ResponseInfo.ResponseNo
ResponseInfo.ResponseText
ResponseInfo.CustomHeaders.Values[lName]
ResponseInfo.ContentStream
for the equivalent TIdHTTPResponseInfo of the framework I’m using?