connectPhoenix

This method will setup and connect the phoenix socket

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

Parameters

ParameterDescriptionTypeRequired

domainUrl

socket endpoint to connect to

string

params

optional parameters to pass when connecting to socket

any

options

optional configuration options

Last updated

Copyright (c) 2020 Trixta Inc