tracing/third_party/oboe/src/wire.js
function wire (httpMethodName, contentSource, body, headers, withCredentials){

   var oboeBus = pubSub();
   
   // Wire the input stream in if we are given a content source.
   // This will usually be the case. If not, the instance created
   // will have to be passed content from an external source.
  
   if( contentSource ) {

      streamingHttp( oboeBus,
                     httpTransport(), 
                     httpMethodName,
                     contentSource,
                     body,
                     headers,
                     withCredentials
      );
   }

   clarinet(oboeBus);

   ascentManager(oboeBus, incrementalContentBuilder(oboeBus));
      
   patternAdapter(oboeBus, jsonPathCompiler);      
      
   return instanceApi(oboeBus, contentSource);
}
function wire (httpMethodName, contentSource, body, headers, withCredentials){

   var oboeBus = pubSub();
   
   // Wire the input stream in if we are given a content source.
   // This will usually be the case. If not, the instance created
   // will have to be passed content from an external source.
  
   if( contentSource ) {

      streamingHttp( oboeBus,
                     httpTransport(), 
                     httpMethodName,
                     contentSource,
                     body,
                     headers,
                     withCredentials
      );
   }

   clarinet(oboeBus);

   ascentManager(oboeBus, incrementalContentBuilder(oboeBus));
      
   patternAdapter(oboeBus, jsonPathCompiler);      
      
   return instanceApi(oboeBus, contentSource);
}
function wire ( httpMethodName , contentSource , body , headers , withCredentials ) { var oboeBus = pubSub ( ) ; // Wire the input stream in if we are given a content source. // This will usually be the case. If not, the instance created // will have to be passed content from an external source. if ( contentSource ) { streamingHttp ( oboeBus , httpTransport ( ) , httpMethodName , contentSource , body , headers , withCredentials ) ; } clarinet ( oboeBus ) ; ascentManager ( oboeBus , incrementalContentBuilder ( oboeBus ) ) ; patternAdapter ( oboeBus , jsonPathCompiler ) ; return instanceApi ( oboeBus , contentSource ) ; }
This file sits just behind the API which is used to attain a new
Oboe instance. It creates the new components that are required
and introduces them to each other.
This file sits just behind the API which is used to attain a new Oboe instance . It creates the new components that are required and introduces them to each other .