#1 2015-03-18 10:48:25

Dmitro25
Member
Registered: 2015-02-21
Posts: 19

Possible error in documentation for THttpApiServer.Create

In documentation for constructor THttpApiServer.Create when describing CreateSuspended parameter I think TRUE and FALSE values are swapped.
now we have

 if you override this contructor, put the AddUrl() methods within, and you can set CreateSuspended to TRUE
- if you will call AddUrl() methods later, set CreateSuspended to FALSE, then call explicitely the Resume method, after all AddUrl() calls, in order to start the server

but should be

 if you override this contructor, put the AddUrl() methods within, and you can set CreateSuspended to FALSE
- if you will call AddUrl() methods later, set CreateSuspended to TRUE, then call explicitely the Resume method, after all AddUrl() calls, in order to start the server

Offline

#2 2015-03-18 11:39:03

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,658
Website

Re: Possible error in documentation for THttpApiServer.Create

Indeed.

Should be fixed by http://synopse.info/fossil/info/6bf58d6281

THanks for the feeback!

Online

Board footer

Powered by FluxBB