Skip to content

Connect

RobeeeJay edited this page Aug 23, 2012 · 2 revisions

This module allows any (or almost any, the ones I tried worked fine!) Connect compatible module to be inserted into the Stack.

new fw.Connect({ module: connect.logger('dev') });

module should reference the connect module you wish to use, and is basically whatever is inside the brackets passed to Connect's use() method.

Simple Example

var stackFull = new fw.Stack();

stackFull.append(new fw.Connect({ module: connect.logger('dev') }));

The above adds the built in Connect Logger module.

Something went wrong with that request. Please try again.