Loading...
This method will setup and connect the phoenix socket
import { connectPhoenix } from '@trixtateam/phoenix-to-redux';
domainUrl
socket endpoint to connect to
string
params
optional parameters to pass when connecting to socket
any
options
optional configuration options
This method will disconnect the phoenix socket
import { disconnectPhoenix } from '@trixtateam/phoenix-to-redux';
None
All the methods associated with the socket