node.js

Summary
node.js
bbop.rest.manager.nodeNodeJS BBOP manager for dealing with remote calls.
Functions
nodeContructor for the REST query manager; NodeJS-style.
updateSee the documentation in <bbop.rest.manager.js> on update to get more of the story.

bbop.rest.manager.node

NodeJS BBOP manager for dealing with remote calls.  Remember, this is actually a “subclass” of bbop.rest.manager.

TODO/BUG: Does not handle “error” besides giving an “empty” response.

Summary
Functions
nodeContructor for the REST query manager; NodeJS-style.
updateSee the documentation in <bbop.rest.manager.js> on update to get more of the story.

Functions

node

bbop.rest.manager.node = function(response_handler)

Contructor for the REST query manager; NodeJS-style.

This assumes we’re in a node environment so that the require for commonjs is around.

Arguments

response_handler

Returns

REST manager object

See also

bbop.rest.manager

update

bbop.rest.manager.node.prototype.update = function(callback_type)

See the documentation in <bbop.rest.manager.js> on update to get more of the story.  This override function adds functionality to NodeJS.

Parameters

callback_typecallback type string (so far unused)

Returns

the query url (with any NodeJS specific parameters)

bbop.rest.manager.node = function(response_handler)
Contructor for the REST query manager; NodeJS-style.
bbop.rest.manager.node.prototype.update = function(callback_type)
See the documentation in bbop.rest.manager.js on update to get more of the story.
Generic BBOP manager for dealing with basic generic REST calls.
Close