Websocket
Create a websocket object
- 1- Right click in any blueprint graph to open search box.
- 2- Search by
InternetProtocolSubsystem
.
- 3- Search by
CreateWebsocket
from InternetProtocolSubsystem
node.


Nodes
1- Construct Websocket
- Construct websocket
- Protocols:
ws
and wss
- Must be called before use any websocket function.

2- Is Websocket Valid
- Check if the websocket was built and is valid.

3- Connect
- Construct websocket
- Protocols:
ws
and wss
- Must be called before use any websocket function.

4- Is Connected
- Check if websocket is connected.

5- Close
- Close websocket connection.

5- Reset
- Shutdown websocket module.
Construct Websocket
must be called again before use any node.

5- Send
- Send string or json message.

5- Send Raw
- Send raw message.

Events
- Events can be called or assigned without construct websocket.
1- On Connected
- Delegated called when websocket connect to server.

2- On Connection Error
- Delegated called when websocket failure to connect to server.

3- On Close
- Delegated called when connection is closed.

4- On Message Sent
- Delegated called when websocket receive a message.

5- On Message Sent
- Delegated called when a message be sent.

6- On Raw Message
- Delegated called when websocket receive a raw message.
