Commit Graph

3 Commits

Author SHA1 Message Date
Lance Ball 71a32d4e89
squash: fix linting error
Signed-off-by: Lance Ball <lball@redhat.com>
2020-04-13 10:10:26 -04:00
Lance Ball 3a063d7245
fix: support mTLS in 1.0 Binary and Structured emitters
This commit modifies both of the 1.0 emitters so that they may
accept typed objects as a part of the configuration. When using
mTLS in Node, you need to provide an `Agent` to the underlying
HTTP handler. In this case, Axios will pass this object along to
Node.js when it is provided.

Fixes: https://github.com/cloudevents/sdk-javascript/issues/48

Signed-off-by: Lance Ball <lball@redhat.com>
2020-04-08 16:13:57 -04:00
Fabio José 145bd2973f A generic structured http emitter for reusable purposes
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-07-29 14:33:59 -03:00