package
0.0.0-20210805150241-449d0e09d70b
Repository: https://github.com/project-flogo/websocket.git
Documentation: pkg.go.dev
# README
WebSocket Client
This trigger provides your Microgateway application with the ability to subscribe to websocket message events and invokes dispatch
with the contents of the message.
Schema
Settings, Outputs and Handlers:
{
"settings":[
{
"name": "url",
"type": "string"
}
],
"outputs": [
{
"name": "content",
"type": "any"
}
],
"handler": {
"settings": []
}
}
Settings
Key | Description |
---|---|
url | The websocket url to connect to. |
Outputs
Key | Description |
---|---|
content | Websocket request payload |
Example Configurations
{
"name": "tibco-wssub",
"id": "flogo-WSMessageTrigger",
"ref": "github.com/project-flogo/websocket/trigger/wsclient",
"settings": {
"url": "ws://localhost:8000/ws"
},
"handlers": [
{
"settings": {
},
"actions": [
{
"id": "microgateway:Pets"
}
]
}
]
}
# Packages
No description provided by the author