B4i Question Sanity check: Does HttpClient.InitializeAcceptAll actually work? - Sandman    Sep 3, 2024 the certificate checks. On Android one does this with HttpClient.InitializeAcceptAll, and it works... I'd ask at least:
Can somebody please verify that HttpClient.InitializeAcceptAll works using... B4A Question PHP code interaction with HttpUtils.PostFile / HttpClient.InitializePost2 - andrewtheart    Dec 13, 2011 Using HttpUtils or HttpClient and the AdvancedCamera library I can POST images to a server as a byte array (using HttpClient.InitializePost2) or as a file (HttpUtils.PostFile)
But in PHP... B4A Question httpclient initialize accept all not working - Erel (first post)    Jan 9, 2015 I did what you wrote, still not working
SNI is currently not supported.... B4A Question httpClient initialize error - WAZUMBi (first post)    Jul 13, 2012 I based my code on the
Connect Android to MySQL Database Tutorial
I have not tried HttpUtils2 yet. Will give it a shot. Than... B4J Code Snippet jWebSocketClient v2 accept all certificates - Erel    Oct 25, 2023   (8 reactions) HttpClient As JavaObject HttpClient.InitializeNewInstance("org.eclipse.jetty.client.HttpClient....InitializeNewInstance("org.eclipse.jetty.websocket.client.WebSocketClient", Array(HttpClient....RootPane.LoadLayout("Layout1") MainForm.Show ws.Initialize("ws"... SetAcceptAll (WebSocket As WebSocketClient) Dim ssl As JavaObject ssl.InitializeNewInstance("org... As JavaObject ClientConnector.InitializeNewInstance("org.eclipse.jetty.io.ClientConnector"... B4A Question File upload clarifications - AlpVir    Feb 18, 2023 With these instructions I upload a file : Dim HttpClient1 As HttpJob If Not(HttpClient1.IsInitialized) Then HttpClient1.Initialize("HttpClient1",Me) HttpClient1.PostFile("https://NameSite,NameFolder,NameFile) With these others I check if the file has actually been sent on the web : Sub JobDone (Job As HttpJob) If Job.Success = True Then Select Job.JobName Case "HttpClient1" '--- XXX The question... B4J Question Download file from Koofr - Robert Valentino    Mar 23, 2025 do this with B4A), this is the example I was given Sub Process_Globals Private HttpClient As HttpClient Private FileName As String Private FileUrl As String Private AccessToken As String End Sub Sub AppStart ' Initialize the HttpClient HttpClient.Initialize... Dim req As HttpRequest req.InitializeGet(url) req.SetHeader("Authorization"... HttpClient.Send(req) End Sub Sub HttpClient_ResponseSuccess (Response As HttpResponse) '... B4A Question Cannot access ClientProtocolException - CARTHO    Dec 28, 2015 Why do I "suddenly" recieve this error? B4A version: 5.50 Parsing code. (0.06s) Compiling code. (0.08s) Compiling layouts code. (0.01s) Generating R file. (0.04s) Compiling generated Java code. Error B4A line: 485 HttpClient1.Initialize(\ javac 1.7.0_45 src\B4A\UserInterfaceMenu\main.java:759: error: cannot access ClientProtocolException _httpclient1.Initialize("HttpClient1"); ^ class file for org.apache.http.client... B4A Question [SOLVED] How to handle multiple possible events using Resumable Sub? - Sandman    Oct 26, 2017 Let's say I have this code: Sub Class_Globals Private http_client As OkHttpClient End Sub Public Sub Initialize (req As OkHttpRequest, taskId as int) http_client.Initialize("http_client") http_client.Execute(req, taskId) End Sub Sub http_client_ResponseSuccess (Response As OkHttpResponse, ResponseTaskId As Int) ToastMessageShow("Success", False) End Sub Sub http_client_ResponseError (Response As OkHttpResponse, Reason As String, ResponseStatusCode... B4i Question NSURLSession dataTaskWithURL: completionHandler: - Erel (first post)    Sep 19, 2019 What exactly are you trying to do? If you want to accept unrecognized certificates then you can use HttpClient.InitializeAcceptAll.... Page: 1   2   3   4   5   6   7   |