Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vertx-eventbus-client

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vertx-eventbus-client

vert.x eventbus client for node.js

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

vertx-eventbus-client

This is a vert.x 2.1 eventbus client library for node.js.

Installation

npm install vertx-eventbus-client

API

var vertx = require('vertx-eventbus-client');

var eb = new vertx.EventBus('http://localhost:8080/eventbus');

eb.onopen = function() {
  console.log('eb.onopen start.');
  eb.send('some-address', {'action': 'say', 'message': 'Hello World!'}, function(reply) {
    console.log("receive message: " + JSON.stringify(reply));
  });
};

TEST

ServerSide(vert.x):

vertx run test/VertxEventBusServer.java

ClientSide(node.js):

node test/node-client.js

LICENSE

ASL 2.0

Keywords

FAQs

Package last updated on 28 May 2014

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc