pubnubdrivers out of the box, we can now have full web socket support quickly and easily.
config/broadcast.pyfile. There are only two options:
DRIVERshould hold the value of the driver you want to use such as
DRIVERSshould hold the configuration data:
pubnubdrivers, these are the only values you will need.
DRIVERsetting has a corresponding key in the
ServiceProviderService Provider which takes care of the container bindings for us, we can now it simply by passing
Broadcastinto our parameter list in our controller methods like so: