websocket

  1. Alexander Stolte

    Android Example [B4X] Supabase - Realtime Broadcast example app

    https://www.b4x.com/android/forum/threads/b4x-supabase-the-open-source-firebase-alternative.149855/ This is a simple B4X broadcast example with supabase as backend. Libraries AS_TextfieldAdvanced AS_Label Supabase V1.16+ Have Fun :)
  2. F

    B4J Question Using the MqttClient class within a WebSocket

    Good morning everyone, I'm trying to use the MqttClient within a WebSocket to create a simple logger that displays the topics passing through my Mosquitto broker via a web page. In the 'websocket_connect' event, I invoke the connect function to the MQTT, but I never receive the success or...
  3. Alexander Stolte

    Android Example [B4X] Supabase - Realtime

    https://www.b4x.com/android/forum/threads/b4x-supabase-the-open-source-firebase-alternative.149855/ This is a very simple tutorial on how to use the Realtime module. A more detailed tutorial is coming soon. Step 1 Click in your project on "Project -> Build configurations -> Conditional...
  4. I

    B4J Question is Possible Jserver as Websocket Server for OCPP16 ?

    Hi guys, is it possible implement websocket-server for ocpp in b4j ? info: client send non-standard map/json payload data b4j, example pdu code (payload) client : [2,"1234","Heartbeat",{}]...
  5. Swissmade

    B4J Question WebSockets in GUI app

    Hi all, I wondering if it is possible to use web-sockets in a GUI app. What I like to do is send the information from a GUI Server also to a website. If this is working I like to strip down this GUI Server to a Non-GUI Server this way I know if it is working correct. Also wondering how to do...
  6. M

    Android Question signalr

    Hi, How to use signalr in basic4android?
  7. Michael Müller Anywhere

    Android Question WebSocket Client Library - Typemismatch on a windows-App (VB6)

    Hello, whe I use the websocket Client Library, the connection string I receive with the demo-project with me own Server App (written in VB6) is ok: GET /ws HTTP/1.1 Host: xxxxxxxxxxxxx.myfritz.net:4750 Upgrade: WebSocket Connection: Upgrade Sec-WebSocket-Key: asIBtB/kYe8zBRS29Ewv1A==...
  8. LucaMs

    B4J Question Websocket & hackers

    Could a hacker break into a secure websocket connection? Send data on that "channel" as if he were the "owner" of the connection?
  9. Peachy

    B4J Question [ABMaterial] Websocket losing connection

    Hello, having an issue with our ABMaterial service, we have it set up behind an nginx reverse proxy which connects through ssl to cloudflare for our URL. For some reason recently the pages websocket has started to drop connection and reload itself, this happens on any page. if you would like to...
  10. shadowdevfr

    Android Question Using websocket client with an api that needs an auth after the connection.

    Hi. It's been a day i've been trying to figure out how to use this api, wich needs a websocket to return a server's console output. Here are the docs: I got the token and the websocket link, but I have no idea how to connect to the websocket and login after the connection by sending...
  11. bdunkleysmith

    B4J Question [SOLVED] Websocket connection to MQTT based API

    I am trying to connect to a data streaming API and below is an extract from the API documentation (in red italics). Connection to the message broker is made using a Websocket connection and the message broker makes use of the MQTT protocol. So my initial obstacle is that I understand that...
  12. Star-Dust

    B4J Library [B4X] xHttpServer (Http Server + jQuery)

    It is a personal project of mine that I started as a hobby on B4i and it has become an interesting project, so that I have modified it to be multiplatform. It is an http server, which allows a browser to navigate on html pages stored on the device. In addition, dynamic pages can also be...
  13. Star-Dust

    B4i Library SD: iHttpServer (beta)

    I started developing a version of the HttpServer Library for iOs. It is still a beta version and not complete, but already functional. You can start using it to test it. Includes WebSocket and QueryElement implementation Digest Auth will be added in the future. I have arrived at a first version...
  14. P

    B4J Question Websockets vs Handlers

    Hello all, I am deciding between which option to go with between WebSockets and server handler for an enterprise web application. use case : User base ?- 300k users. Concurrent connections expected? - 10% during the day - 30k. Two-way communication required? Only on the chat page. What i...
  15. P

    B4J Question Automatic Reconnecting WebSocket-Event fires multiple times

    Hello All, I am using Automatic reconnecting websocket. When the server is stopped and started, the client connects to the server, like the way the name suggests. However, I notice that the button click event is triggered as the same number of times the client loses the connection. Steps to...
  16. L

    B4J Question [B4JServer] Could not locate b4xV5.ini … [ERROR]: missing the html files.

    Please note that I am new to B4J. I have made progress but I am stuck in a frustrating place right now. Any help would be much appreciated. Here is the issue: 1. I am working in a Windows 10/VirtualBox (Ubuntu Server) environment. 2. I am compiling my Win 10 B4J BANanoServer WebSocket PWA based...
  17. K

    Android Question WebView, local html + javascript and the Websocket connection is not working

    Hi All I am trying to make a very simple application that only runs a website in WebView from a local html file in the DirAssets directory. The website contains javascripts that work in my application, except for the Websocket connection options. All scripts from the file work correctly...
  18. bdunkleysmith

    B4J Question [Solved] B4JPackager11 / websocket project problem

    As recommended by @Erel in this thread, I have commenced migrating the communications in my project from http to websocket, however it's not been as simple as I thought it would be. In replacing the http based comms part of my project I hit some "roadblocks". So created a simple project to...
  19. Biswajit

    B4A Library Socket.IO Client Library

    Hi everyone, Here is the Socket.IO Client library wrap for this Github Project. Click here for the B4i wrapper SocketIOClient Author: @Biswajit Version: 2.5 Dependency: OkHttpUtils2 SocketIOClient Method: initialize(EventName As String) connect (host As String, params As String, secure As...
  20. Biswajit

    B4i Library Socket.IO Client Library

    Here is the Socket.IO Client library wrap for this Github Project. Click here for the B4A wrapper iSocketIOClient Author: @Biswajit Version: 1.4 Dependency: iRandomAccessFile iSocketIOClient SocketIOClient library wrapper for b4i. Events: Ack (data As String) CustomUserEvents (data As List...
Top