All the events associated with the socket
Should the socket attempt to close, the following redux event is dispatched
Parameter | Description |
---|---|
type
SOCKET_CLOSE
socket
phoenix socket
domainKey
endpoint url without socket details or protocol
params
socket connection params
Should an error occur from the phoenix socket, the following redux event is dispatched
Parameter | Description |
---|---|
Should the socket attempt to open, the following redux event is dispatched
Parameter | Description |
---|---|
Should the socket attempt to connect, the following redux event is dispatched
Parameter | Description |
---|---|
Should the socket attempt to disconnect, the following redux event is dispatched
Parameter | Description |
---|---|
type
SOCKET_ERROR
error
Error response from socket
domainKey
endpoint url without socket details or protocol
socketState
Connection state of socket
type
SOCKET_OPEN
socket
phoenix socket
domainKey
endpoint url without socket details or protocol
params
socket connection params
type
SOCKET_CONNECT
socket
phoenix socket
domainKey
endpoint url without socket details or protocol
type
SOCKET_DISCONNECT
socket
phoenix socket
domainKey
endpoint url without socket details or protocol
params
socket connection params