sdk-javascript/docs
Lance Ball abc114b24e
lib!: change CloudEvent to use direct object notation and get/set properties (#172)
This commit makes a substantial change to the API, changing the CloudEvent class
to accept properties as an object in the constructor. For example:

```js
const CloudEvent = require('cloudevents-sdk');

// all event properties except extensions may be set in the constructor
const event = new CloudEvent({
  source: 'http://my.event.source',
  type: 'test-event-type'
});

// get and set all properties standard property notation
console.log(event.time); // the event timestamp
event.subject = 'my event subject';
```

Signed-off-by: Lance Ball <lball@redhat.com>
2020-05-22 13:03:36 -04:00
..
fonts docs: add JSDocs for top level API objects (#140) 2020-05-12 17:27:11 -04:00
icons docs: add JSDocs for top level API objects (#140) 2020-05-12 17:27:11 -04:00
scripts docs: add JSDocs for top level API objects (#140) 2020-05-12 17:27:11 -04:00
styles docs: add JSDocs for top level API objects (#140) 2020-05-12 17:27:11 -04:00
BinaryHTTPEmitter.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
BinaryHTTPReceiver.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
CloudEvent.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
HTTPEmitter.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
HTTPReceiver.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
StructuredHTTPEmitter.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
StructuredHTTPReceiver.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
ValidationError.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
bindings_http_emitter_binary.js.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
bindings_http_emitter_structured.js.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
bindings_http_http_emitter.js.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
bindings_http_http_receiver.js.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
bindings_http_receiver_binary.js.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
bindings_http_receiver_structured.js.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
bindings_http_v1_emitter_binary_1.js.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
bindings_http_v03_emitter_binary_0_3.js.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
bindings_http_validation_validation_error.js.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
cloudevent.js.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
formats_json_parser.js.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
global.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00
index.html lib!: change CloudEvent to use direct object notation and get/set properties (#172) 2020-05-22 13:03:36 -04:00