uniplan Active Member Licensed User Longtime User Jan 16, 2018 #1 Hi, i need to increase the timeout of PostBytes,i'm using the HttpUtils2 library and this is my code: B4X: Dim syncJob As HttpJob syncJob.Initialize(servizio, Me) syncJob.PostBytes( indirizzo,stringToUpload.GetBytes("UTF8")) syncJob.GetRequest.Timeout = 60000 but 'syncJob.GetRequest.Timeout' get me an error of unknow type or missing library. Ho i can solve it? Thnak you
Hi, i need to increase the timeout of PostBytes,i'm using the HttpUtils2 library and this is my code: B4X: Dim syncJob As HttpJob syncJob.Initialize(servizio, Me) syncJob.PostBytes( indirizzo,stringToUpload.GetBytes("UTF8")) syncJob.GetRequest.Timeout = 60000 but 'syncJob.GetRequest.Timeout' get me an error of unknow type or missing library. Ho i can solve it? Thnak you
DonManfred Expert Licensed User Longtime User Jan 16, 2018 #2 uniplan said: Ho i can solve it? Click to expand... add okhttp lib to your project Upvote 0
DonManfred Expert Licensed User Longtime User Jan 16, 2018 #4 are you using okhttputils2? If so; add okhttp lib Or are you using httputils2? If so; add http lib. Last edited: Jan 16, 2018 Upvote 0
uniplan Active Member Licensed User Longtime User Jan 16, 2018 #5 ok...i solved it...thank you Upvote 0