File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ These are the supported specifications by this version.
55
55
| Emit Structured events over HTTP | yes | yes |
56
56
| Emit Binary events over HTTP | yes | yes |
57
57
| JSON Event Format | yes | yes |
58
- | Receice Structure events over HTTP | no | yes |
58
+ | Receice Structured events over HTTP| no | yes |
59
59
| Receice Binary events over HTTP | no | yes |
60
60
61
61
## How to use
@@ -95,7 +95,7 @@ cloudevent01
95
95
* to Cloudevent
96
96
*/
97
97
cloudevent01
98
- .eventTypeVersion (" 1.0" );
98
+ .eventTypeVersion (" 1.0" );
99
99
100
100
/*
101
101
* Constructs an instance with:
@@ -130,8 +130,6 @@ var cloudevent =
130
130
* Format the payload and return it
131
131
*/
132
132
var formatted = cloudevent .format ();
133
-
134
- var ce =
135
133
```
136
134
137
135
#### Emitting
@@ -140,9 +138,10 @@ var ce =
140
138
var Cloudevent = require (" cloudevents-sdk" );
141
139
142
140
// The event
143
- var cloudevent = new Cloudevent ()
144
- .type (" com.github.pull.create" )
145
- .source (" urn:event:from:myapi/resourse/123" );
141
+ var cloudevent =
142
+ new Cloudevent ()
143
+ .type (" com.github.pull.create" )
144
+ .source (" urn:event:from:myapi/resourse/123" );
146
145
147
146
// The binding configuration using POST
148
147
var config = {
You can’t perform that action at this time.
0 commit comments