connectPhoenix

This method will setup and connect the phoenix socket

import { connectPhoenix } from '@trixtateam/phoenix-to-redux';

Parameters

Parameter
Description
Type
Required

domainUrl

socket endpoint to connect to

string

params

optional parameters to pass when connecting to socket

any

options

optional configuration options

Last updated

Was this helpful?