The 'vertx' module provides all of the vertx API namespaced
under 'vertx'. For example:
Example
var vertx = require('vertx');
var buff = new vertx.Buffer('some string');
var bus = vertx.eventBus;
var client = vertx.http.createHttpClient();
// Each of the modules imported by vertx may also be required as
//individual modules. For example:
var http = require('vertx/http');
var server = http.createHttpServer();
var client = http.createHttpClient();
var Buffer = require('vertx/buffer');
var buff = new Buffer('another string');
Members
-
<static> Buffer
-
The vert.x Buffer class.
- Source:
- See:
-
<static> eventBus
-
The vert.x distributed event bus.
- Source:
- See:
-
<static> fileSystem
-
The vert.x fileSystem module
- Source:
- See:
-
<static> http
-
The vert.x http module
- Source:
- See:
-
<static> net
-
The vert.x net module
- Source:
- See:
-
<static> parseTools
-
The vert.x parseTools module
- Source:
- See:
-
<static> Pump
-
The vert.x stream pump.
- Source:
- See:
-
<static> sharedData
-
The vert.x sharedData module
- Source:
- See:
-
<static> timer
-
The vert.x timer module
- Source:
- See: