Magma Expert Licensed User Longtime User Mar 9, 2021 #1 Hi there... something i am missing as always... configured properly self created ssl at jserver side... at client must to use okhttputils2 (unzziped from b4xlib)... changinging at httputils2service... hc.InitializeAcceptAll("hc") but why i am taking: Error parsing program. Error description: Unknown type: okhttprequest Are you missing a library reference? Error occurred on line: 15 (HttpJob) Private req As OkHttpRequest Click to expand... Because i am not sleeping good the last nights ? may be .... :-( what i forget ...? Sorry guys - gonna crazy.. Last edited: Mar 10, 2021
Hi there... something i am missing as always... configured properly self created ssl at jserver side... at client must to use okhttputils2 (unzziped from b4xlib)... changinging at httputils2service... hc.InitializeAcceptAll("hc") but why i am taking: Error parsing program. Error description: Unknown type: okhttprequest Are you missing a library reference? Error occurred on line: 15 (HttpJob) Private req As OkHttpRequest Click to expand... Because i am not sleeping good the last nights ? may be .... :-( what i forget ...? Sorry guys - gonna crazy..
Erel B4X founder Staff member Licensed User Longtime User Mar 10, 2021 #2 Magma said: at client must to use okhttputils2 (unzziped from b4xlib)... Click to expand... Wrong solution. Right solution: [B4X] OkHttpUtils2 / iHttpUtils2 and accept all option Upvote 0
Magma said: at client must to use okhttputils2 (unzziped from b4xlib)... Click to expand... Wrong solution. Right solution: [B4X] OkHttpUtils2 / iHttpUtils2 and accept all option
Magma Expert Licensed User Longtime User Mar 10, 2021 #3 Extremely easy! what exactly is the HU2_PUBLIC ? ...makes the http client variable (hc) a public variable. This can be used in cases where you want to customize the internal behavior. It is more relevant to B4J and B4A. .. can you give me example of use (where to use) - i didn't get it ? Thanks... Upvote 0
Extremely easy! what exactly is the HU2_PUBLIC ? ...makes the http client variable (hc) a public variable. This can be used in cases where you want to customize the internal behavior. It is more relevant to B4J and B4A. .. can you give me example of use (where to use) - i didn't get it ? Thanks...
Erel B4X founder Staff member Licensed User Longtime User Mar 10, 2021 #4 You don't need to use it. Just click on Ctrl + B and add HU2_ACCEPTALL as a conditional symbol. Upvote 0
Magma Expert Licensed User Longtime User Mar 10, 2021 #5 @Erel my question (for HU2_PUBLIC) was only for learning it... why this exist Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 10, 2021 #6 All kinds of more esoteric use cases: https://www.b4x.com/android/forum/pages/results/?query=HU2_PUBLIC Upvote 0
All kinds of more esoteric use cases: https://www.b4x.com/android/forum/pages/results/?query=HU2_PUBLIC