Skip to content

Commit 7aa7570

Browse files
committed
imports of bindings
Signed-off-by: Fabio José <[email protected]>
1 parent 109f030 commit 7aa7570

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

lib/cloudevent.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
var Spec_0_1 = require('./specs/spec_0_1.js');
2-
var Spec_0_2 = require('./specs/spec_0_2.js');
3-
var JSONFormatter_0_1 = require('./formats/json_0_1.js');
1+
var Spec_0_1 = require('./specs/spec_0_1.js');
2+
var Spec_0_2 = require('./specs/spec_0_2.js');
3+
var JSONFormatter_0_1 = require('./formats/json_0_1.js');
4+
var HTTPStructured_0_1 = require('./bindings/http/structured_0_1.js');
45

56
/*
67
* Class created using the Builder Design Pattern.
@@ -53,5 +54,10 @@ Cloudevent.formats = {
5354
'json0.1': JSONFormatter_0_1
5455
};
5556

57+
Cloudevent.bindings = {
58+
'http-structured' : HTTPStructured_0_1,
59+
'http-structured0.1' : HTTPStructured_0_1
60+
};
61+
5662
module.exports = Cloudevent;
5763

0 commit comments

Comments
 (0)