Description
Changelog
Reviews

It gives you two new nodes:

  • WebSocketServer
  • WebSocketClient

That allow you to create WebSockets clients or servers easily and quickly

How to create a basic server

  • Add a WebSocketServer node to your scene
  • Configure your server in the inspector, indicating at least a connection port and protocol (clients must connect using the same protocol, if no protocol is indicated, clients must not specify any protocol either)
  • Connect the server signals you need, for example "client_connected" and "text_received"

How to create a basic client

  • Add a WebSocketClient node to your scene
  • Configure your client in the inspector, indicating the URL and port of the server with the following format ws://IP-ADDRESS:PORT, and the protocols to use (the server will select one of the protocols, if none is available on the server the connection will be closed)
  • Connect the client signals you need

Changelog for version v1.0.0

No changelog provided for this version.

Reviews (0)

NodeWebSockets has no reviews yet.

Login to write a review.