Add AcceptAllCerts boolean parameter to the HTTPJOB Initialize so I can control accepting of any certificate from a configuration file at runtime instead of compile time.
Add AcceptAllCerts boolean parameter to the HTTPJOB Initialize so I can control accepting of any certificate from a configuration file at runtime instead of compile time.
Note that OkHttpUtils2, jOkHttpUtils2 and iHttpUtils2 are actually the exact same b4x library. jOkHttpUtils2_NONUI was required as a special version for non-ui B4J apps. It is no longer required and shouldn't be used. Starting from v2.90 it is very simple to initialize the internal http client...
Manfred,
Thanks for replying.
I know of this setting but as far as I'm aware, it's a compile time option, I can't change it without re-compiling my program.
If there is an option in the Initialize function then I can change it at run time by reading a config file.
I have already made those changes to the source but each time you release a new version of the library, I have to merge my changes into the new library.
I've had to do this merge once already and I was just trying to plan ahead.
A small change to your source and everyone can benefit.