1.0.4 • Published 3 years ago

w3sockets v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

W3sockets Implementation

  • From Retention to Conversion. Develop real-time web applications delivering the dynamism which indeed holds the potential to convert your website visitors!
npm i w3sockets

Step:- 1

let w3sockets = require('w3sockets');

Step:- 2

w3sockets.initialize({
	grant_type: 'client_credentials',
	public_key: 'your_public_key',
	secret_key: 'your_screte_key'
})

For push socket notification

w3sockets.push('channel', 'event_name', 'your_message_here')

For push notification to firebase

w3sockets.pushFirebaseNotification('channel', 'message_title', 'message_body')
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago