API Documentation
This commit is contained in:
parent
c53781489c
commit
224993b824
|
|
@ -47,14 +47,14 @@ Javascript SDK for CloudEvents
|
||||||
```js
|
```js
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Format the payload and return it.
|
* Format the payload and return an Object.
|
||||||
*/
|
*/
|
||||||
Cloudevent.format()
|
Object Cloudevent.format()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Format the payload as String.
|
* Format the payload as String.
|
||||||
*/
|
*/
|
||||||
Cloudevent.toString()
|
String Cloudevent.toString()
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue