Comments (5)
Hey I would love to take a dig at this issue for Hactoberfest!
from sdk-rust.
Go ahead! I think we want to use actix-web for the protocol binding https://actix.rs/docs/websockets/, so you can just modify the cloudevents-sdk-actix-web
crate adding the new stuff in there.
A first step is to implement the message serializer/deserializer for the websockets data structures. Then, we need to figure out the apis (we can do that in 2 PRs)
from sdk-rust.
Hey @slinkydeveloper, currently WIP, taking time since this domain is new to me :D But I want to ask, from the spec of websocket, are we supporting the binary frame streaming (avro event format)?
from sdk-rust.
@nguyenquannnn I think, for now, just the text format is fine, since this sdk just supports json conversion
from sdk-rust.
Added a reference web socket implementation to the tide example
a71f661
From what I can see in the spec the only requirement is to implement the upgrade headers but it would be great to get some feedback if someone thinks it can be improved.
from sdk-rust.
Related Issues (20)
- Refactor/consolidate header logic/macros/globals
- Add Axum binding HOT 1
- bug: event deserialization fails w/ "relative URL without a base" HOT 5
- Fails to parse event which has non-JSON data section with JSON content type HOT 3
- fail to get vec<u8>: "invalid type: map, expected a sequence", line: 1, column: 0 HOT 3
- Use Axum 0.4.0
- Switch default branch to "main" HOT 1
- Upgrade `uuid` to version `1.x`
- msgpack serialization HOT 2
- Protobuf serialization HOT 7
- bump version of axum
- remove dev dependency claim HOT 3
- Event does not have `new` method
- Example for using tracing extension and messages HOT 2
- How to send/emit cloud events HOT 2
- How to serialize/deserialize Vec<Event> in actix-web?
- application/json content type set with reqwest integration insetad of expected application/cloudevents+json HOT 1
- Implementation for KafkaRecord / blanket implementation HOT 1
- Upgrade to axum ^0.7 HOT 13
- Printing `Data` panics when it holds binary data containing invalid UTF-8 sequences
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdk-rust.