cloudevents / sdk-rust

Rust library to interact with CloudEvents
Apache License 2.0
174 stars 61 forks source link

How to send/emit cloud events #210

Open oasisk opened 1 year ago

oasisk commented 1 year ago

Javascript sdk supports sending events , how to send events using rust sdk.

https://github.com/cloudevents/sdk-javascript#emitting-events

Lazzaretti commented 1 year ago

Hi @oasisk

The SDK supports sending events. Is your question how to send an event to an HTTP endpoint? Are you looking for a browser-based solution (so with a WebAssembly)? And how should the event be encoded (e.g. JSON)?

oasisk commented 1 year ago

@Lazzaretti ..yes..want to understand how do we send events to http end point?