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= | |Category=Websockets | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
{"Name":"*", "Type":" | {"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 [[ | 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 [[ | An [[Type:Uri | URI]] to the WebSocket server. | ||
=== HandlingUser === | === HandlingUser ([[Type:User|User]]) === | ||
An [[ | 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
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.