[PAID] AirDSocketIOClient - Extension of SocketIO client

1. Introduction

Extension name: AirDSocketIOClient

Extension that allows connection to a Socket.IO server.
Socket.IO enables real-time, bidirectional and event-based communication.
It works on every platform, browser or device, focusing equally on reliability and speed.
SSL not guaranteed, please test with the apk.

Version 1

2. Properties of the designer

urlPort

3. Blocks

CONNECT
You must define the address (and possibly the port) of your connection to the Socket.IO server, in text format.
You must also define the listening events, in text format in a list.

emit
This block is used to send data to the Socket.IO server.
Complete the name of the event and indicate the value to send in text format.

disconnect
This block disconnects from the Socket.IO server

initialise
You can initialize your socket without connecting directly. You will then have to connect through the Connect block.

addEventbefore
This block allows you to add events before connecting.

connect
This block starts the connection to the Socket and must be used after initialization.

addafter
After connecting to the socket, you can add a new listening event.

onconnect
Occurs when the connection to the server is successful.

onemit
Occurs when a send has been made.

onreceived
Occurs when the Socket receives data from the server, depending on the events initiated during connection.

ondisconnect
Occurs when the socket is disconnected intentionally or not.

onerrorfired
Occurs with an error trying to connect to the server.

4. Example 1

exempleConnect
Here, the Socket.IO server is at the address ā€œhttp://yourdomain.comā€.
Please indicate the socket port if necessary.
The Socket.IO Client will listen to the ā€œmessageā€, ā€œanotherEventNameā€ events sent by the server.

exempleEmit
Now it is possible to send data.
Here, the event is called ā€œmessageā€.

exempleReceived
When the server sends data via an event defined during connection, it is possible to capture them via this block.
Here the eventName are ā€œmessageā€ or ā€œanotherEventNameā€.

5. Example 2

exempleiniti
Here, the Socket.IO server is at the address ā€œhttp://yourdomain.comā€.
Please indicate the socket port if necessary.
The Socket.IO Client will listen to the ā€œmessageā€ events sent by the server.
No automatic connection.

exemplebefore
I add a listening event, before the connection.

exempleconnect
I request the connection to the Socket.

exempleafter
I add a new listening event.

exempleReceived
When the server sends data via an event defined during connection, it is possible to capture them via this block.
Here the eventName are ā€œmessageā€ or ā€œfirstEventAddā€ or ā€œsecondEventAddā€.

6. Screen recording
Coming soon

7. Downloads
Github
APK

Add this to your server Socket.IO configuration:
socket.on(ā€˜messageTestApkā€™, function(message) {
socket.emit(ā€˜messageā€™, 'Your message is '+message);
});
Thus, after connecting to the Socket and sending a message via the app, you will receive the following message by means of the OnReceived event:
Your message is ā€¦

8. Price
The price is only $2
PM me if you are interested

Translated from French

8 Likes

Good extension :+1: :+1:

Great Extension but u put
Domaine word on your block which is incorrect :sweat_smile::heart:

1 Like

Yeah youā€™re right!!

Do you need a website to use this extension? Is it possible to make an online game with this extension?
I think give some example to your explanation so that developers can see what kind of extension

thank you

FIKIR_KUMESI

Not complete tutorial for this extension only block pic.
What are going guys here?

Best Extension for AirDSocket

Hi,

Looks like a great extension. Only just starting to learn about SocketIO as I need to try and make an very basic interface for a NodeJS project

Fingers crossed they let me PM you soon.

Futurity

1 Like