You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: API_TRANSITION_GUIDE.md
+29-2Lines changed: 29 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,6 @@ app.post("/", (req, res) => {
28
28
29
29
#### Emitter
30
30
31
-
The `Emitter` class has been changed with the removal of `Emitter.send()` and the addition of `Emitter.emit()`. This change puts the responsibility for network transport on the developer. See the example below.
32
-
33
31
`Emit.send` should be transitioned to `HTTP.binary` for binary events and `HTTP.structured` for structured events
34
32
35
33
`Emit.send` would use axios to emit the events. Since this now longer available, you are free to choose your own transport protocol.
@@ -73,3 +71,32 @@ function sendWithAxios(message) {
0 commit comments