Web Socket

This extension allows you to establish web sockets connection over multiple users to listen the real time changes or messages that are sent by subscribed users. This extension can help you to integrate real-time databases in your application for example Firebase DB. That can be used for chatting and other purpose applications.

Released on : 05 Dec 2021

Last Updated on : 05 Dec 2021

Latest Version : 1.0.0

All Blocks

This event raises when any error occurred.


This event raises when the connection is successfull.


This event raises when the web socket is disconnected. It returns a reason of disconnection.


This event raises when any data changed in your web socket.


This block connect the web socket with given URL. URL must start with ws.


This block disconnect the web socket (if connected) with a reason Disconnected by the user.


This block send the message(any string) to the web socket. Message Received event will be triggered when your web socket listen this change.


Returns true if the web socket is connected

How to Use

The extension is very simple and small to use. You just have connect it with your URL and start sending or listening messages with your database.


I have created a small chatting concept with test API. You can download it's AIA and APK file below with extension.

I have used a Test API from PieSocket web scoket tester. You can make your own API too for testing the web socket.


Download AIX : com.sumit1334.websocket.aix (255 KB)
Download AIA : WebSocket.aia (260 KB)
Download APK : WebSocket.apk (5.29 MB)

You can download it from GetAix.com