Exporting the binary receiber
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
8c7de33ca8
commit
23b0648a07
|
@ -93,10 +93,10 @@ describe("The SDK Requirements", () => {
|
|||
expect(v1).to.have.property("BinaryHTTPEmitter");
|
||||
});
|
||||
|
||||
// it("should exports 'BinaryHTTPReceiver'", () => {
|
||||
// expect(v1).to.have.property("BinaryHTTPReceiver");
|
||||
// });
|
||||
//
|
||||
it("should exports 'BinaryHTTPReceiver'", () => {
|
||||
expect(v1).to.have.property("BinaryHTTPReceiver");
|
||||
});
|
||||
|
||||
// it("should exports 'HTTPUnmarshaller'", () => {
|
||||
// expect(v1).to.have.property("HTTPUnmarshaller");
|
||||
// });
|
||||
|
|
|
@ -1,12 +1,17 @@
|
|||
const Cloudevent = require("../lib/cloudevent.js");
|
||||
const Spec = require("../lib/specs/spec_1.js");
|
||||
|
||||
const StructuredHTTPEmitter =
|
||||
require("../lib/bindings/http/emitter_structured.js");
|
||||
|
||||
const BinaryHTTPEmitter = require("../lib/bindings/http/emitter_binary_1.js");
|
||||
|
||||
const StructuredHTTPReceiver =
|
||||
require("../lib/bindings/http/receiver_structured_1.js");
|
||||
|
||||
const BinaryHTTPReceiver =
|
||||
require("../lib/bindings/http/receiver_binary_1.js");
|
||||
|
||||
function event() {
|
||||
return new Cloudevent(Spec);
|
||||
}
|
||||
|
@ -16,5 +21,6 @@ module.exports = {
|
|||
StructuredHTTPEmitter,
|
||||
BinaryHTTPEmitter,
|
||||
StructuredHTTPReceiver,
|
||||
BinaryHTTPReceiver,
|
||||
event
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue