Flowstorm Sockets
Flowstorm Sockets are used to connect stateful client application to Flowstorm.
Client states
Every client should distinguish among following states.
Name | Description |
| Socket connection to server is not open (this is the initial state of the client) |
| Socket connection is ready |
| connection failed - in that case client should repeatedly try to connect; in common implementation, every 10 seconds by default |
| no conversation session is going on (session has not started yet or session has been finished) |
| bot is waiting for user input (input audio and/or text, depending on client configuration) |
| user input has been received by server and is being processed by server |
| response is sent to the client - after all the output audio (speech synthesis)/video is played (or skipped by user), client goes back to |
Last updated