Socket
Socket
Sign inDemoInstall

chat-engine-online-user-search

Package Overview
Dependencies
172
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    chat-engine-online-user-search

Adds the ability to search for currently online users on a ChatEngine Chat


Version published
Weekly downloads
7
increased by600%
Maintainers
4
Install size
11.4 MB
Created
Weekly downloads
 

Readme

Source

Online User Search Plugin for ChatEngine

Adds the ability to search for currently online users on a ChatEngine Chat

Quick Start

  1. Have a ChatEngine server running already, instantiate a client and connect it
const ChatEngine = ChatEngineCore.create({
    publishKey: 'pub-key-here',
    subscribeKey: 'sub-key-here'
};

ChatEngine.connect('Username');
ChatEngine.on('$ready', () = { ... });
  1. Attach this plugin to the channel you want, in this case global
ChatEngine.global.plugin(ChatEngineCore.plugin['chat-engine-online-user-search']());
  1. Query the channel for a search term
// returns all users with uuid's containing 'foo'
ChatEngine.global.onlineUserSearch.search('foo');

Support

  • If you need help, have a general question a feature request or to file a bug, contact support@pubnub.com

FAQs

Last updated on 06 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc