ProtoFlux:Websocket Connect: Difference between revisions

From Resonite Wiki
m recategorize
m fix types
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=WebsocketConnect
|Name=WebsocketConnect
|Category=Wiki
|Category=Websockets
|Inputs=
|Inputs=
[
[
{"Name":"*", "Type":"Impulse"},
{"Name":"*", "Type":"Call"},
{"Name":"Client", "Type":"WebsocketClient"},
{"Name":"Client", "Type":"WebsocketClient"},
{"Name":"URL", "Type":"Uri"},
{"Name":"URL", "Type":"Uri"},
Line 19: Line 19:
== Inputs ==
== Inputs ==


=== * ===
=== * ([[Impulses | Call]]) ===


An incoming [[Impulse | impulse]] that will trigger the node.
An incoming [[Impulses | Call]] that will trigger the node.


=== Client ===
=== Client ([[WebsocketClient (Component) |WebsocketClient]]) ===


A [[WebsocketClient (Component) | WebsocketClient]] component.
A [[WebsocketClient (Component) | WebsocketClient]] component.


=== URL ===
=== URL ([[Type:Uri |URI]]) ===


An [[Types:Uri | URI]] to the WebSocket server.
An [[Type:Uri | URI]] to the WebSocket server.


=== HandlingUser ===
=== HandlingUser ([[Type:User|User]]) ===


An [[Types:User | user]] that will handle the WebSocket requests.
An [[Type:User | user]] that will handle the WebSocket requests.


== Outputs ==
== Outputs ==


=== Next ===
=== Next ([[Impulses | Continuation]]) ===


A continuation impulse to trigger the rest of the code.
A continuation impulse to trigger the rest of the code.


[[Category:ProtoFlux:Network:Websockets]]
[[Category:ProtoFlux:Network:Websockets]]

Latest revision as of 21:25, 9 February 2024

WebsocketConnect
*
Next
Client
URL
HandlingUser
Websockets

This node allows you to connect to a websocket server via the WebSocketClient component.

Inputs

* ( Call)

An incoming Call that will trigger the node.

Client (WebsocketClient)

A WebsocketClient component.

URL (URI)

An URI to the WebSocket server.

HandlingUser (User)

An user that will handle the WebSocket requests.

Outputs

Next ( Continuation)

A continuation impulse to trigger the rest of the code.