ee-soa-transport

    0.1.1 • Public • Published

    ee-soa-transport

    Basic SOA Transport implementation. Your transport implementation should inherit from this class. This class inherits from EventEmitter.

    installation

    npm install ee-soa-transport
    

    build status

    Build Status

    usage

    var   Transport = require('ee-soa-transport')
    	, Class  	= require('ee-class');
    
    var MyTransport = new Class({
    	inherits: Transport
    
    	, init: function init() {
    		// you have to call the super constructor to
    		// define the type of transport you're providing
    		init.super.call(this, 'myTransportType');
    	}
    
    	// you may implement the request method 
    	// for outgoing requests
    	, request: function(request, response) {
    		
    	}
    }); 

    Install

    npm i ee-soa-transport

    DownloadsWeekly Downloads

    0

    Version

    0.1.1

    License

    none

    Last publish

    Collaborators

    • ee