Exporting the HTTPUnmarshaller
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
ca6c7942c0
commit
d399e5abc3
|
@ -28,6 +28,10 @@ describe("The SDK Requirements", () => {
|
|||
expect(v02).to.have.property("BinaryHTTPReceiver");
|
||||
});
|
||||
|
||||
it("should exports 'HTTPUnmarshaller'", () => {
|
||||
expect(v02).to.have.property("HTTPUnmarshaller");
|
||||
});
|
||||
|
||||
it("should exports 'event'", () => {
|
||||
expect(v02).to.have.property("event");
|
||||
});
|
||||
|
@ -58,6 +62,10 @@ describe("The SDK Requirements", () => {
|
|||
expect(v03).to.have.property("BinaryHTTPReceiver");
|
||||
});
|
||||
|
||||
it("should exports 'HTTPUnmarshaller'", () => {
|
||||
expect(v03).to.have.property("HTTPUnmarshaller");
|
||||
});
|
||||
|
||||
it("should exports 'event'", () => {
|
||||
expect(v03).to.have.property("event");
|
||||
});
|
||||
|
|
|
@ -8,6 +8,8 @@ const StructuredHTTPReceiver =
|
|||
const BinaryHTTPReceiver =
|
||||
require("../lib/bindings/http/receiver_binary_0_2.js");
|
||||
|
||||
const HTTPUnmarshaller = require("../lib/bindings/http/unmarshaller_0_3.js");
|
||||
|
||||
function event() {
|
||||
return new Cloudevent(Spec);
|
||||
}
|
||||
|
@ -18,5 +20,6 @@ module.exports = {
|
|||
StructuredHTTPReceiver,
|
||||
BinaryHTTPEmitter : HTTPBinary02,
|
||||
BinaryHTTPReceiver,
|
||||
HTTPUnmarshaller,
|
||||
event
|
||||
};
|
||||
|
|
|
@ -10,6 +10,8 @@ const StructuredHTTPReceiver =
|
|||
const BinaryHTTPReceiver =
|
||||
require("../lib/bindings/http/receiver_binary_0_3.js");
|
||||
|
||||
const HTTPUnmarshaller = require("../lib/bindings/http/unmarshaller_0_3.js");
|
||||
|
||||
function event() {
|
||||
return new Cloudevent(Spec);
|
||||
}
|
||||
|
@ -20,5 +22,6 @@ module.exports = {
|
|||
StructuredHTTPReceiver,
|
||||
BinaryHTTPEmitter,
|
||||
BinaryHTTPReceiver,
|
||||
HTTPUnmarshaller,
|
||||
event
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue