Right now, the SmartRaiden Project does not support features like websocket in HTTP. Websocket is a transport layer protocol that provides two-way communication between a client-side which runs untrusted code in a controlled environment and a remote server that has an opted-in communication.
The main purpose for websocket in our project is to
- After receiving
withdraw from channel counterpart, we need main-chain to provide info like withdraw amount.
- Once transferred invoices of token have been obtained, we should proactively feed this invoice to main-chain.
- We can send a notification to main-chain after
ChannelClosed event occurs.
- Feed connection status of public chain.
- Other info that need to proactively feed.
Right now, the SmartRaiden Project does not support features like websocket in HTTP. Websocket is a transport layer protocol that provides two-way communication between a client-side which runs untrusted code in a controlled environment and a remote server that has an opted-in communication.
The main purpose for websocket in our project is to
withdrawfrom channel counterpart, we need main-chain to provide info like withdraw amount.ChannelClosedevent occurs.