We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 302e4a6 commit 83131adCopy full SHA for 83131ad
lib/cloudevent.js
@@ -48,6 +48,26 @@ Cloudevent.prototype.time = function(_time){
48
return this;
49
}
50
51
+Cloudevent.prototype.schemaurl = function(_schemaurl) {
52
+ this.spec.schemaurl(_schemaurl);
53
+ return this;
54
+}
55
+
56
+Cloudevent.prototype.contenttype = function(_contenttype){
57
+ this.spec.contenttype(_contenttype);
58
59
60
61
+Cloudevent.prototype.data = function(_data) {
62
+ this.spec.data(_data);
63
64
65
66
+Cloudevent.prototype.addExtension = function(key, value){
67
+ this.spec.addExtension(key, value);
68
69
70
71
/*
72
* Export the specs
73
*/
0 commit comments