kesha-antonov/react-native-action-cable

Question about the published releases

nithya16886 opened this issue · 4 comments

Hello,

There is a change to allow headers to be sent in, while creating consumers, that is present in master - https://github.com/kesha-antonov/react-native-action-cable/blob/master/lib/action_cable/consumer.coffee, but not been released.

Is there a plan to release this change? We have a requirement to update one of the request headers and it would be helpful.

Thanks!!

Hi
Sure
I'll do it today/tomorrow

BTW you can also do like this:

ActionCable.createConsumer(`${CONSTANTS.WS_URI}?session_token=${encodeURIComponent(token)}`)

Thank you for releasing this!