UnfoldedInc / deck.gl-native

C++ renderer for deck.gl
https://deck.gl
79 stars 6 forks source link

Transport: C++ WebSocket client #56

Open ibgreen opened 4 years ago

ibgreen commented 4 years ago
isaacbrodsky commented 4 years ago

When you say WebSocket, are you intending to use that just because it is a convenient transport protocol? Is there something specific you envision on the other end of it that would indicate WebSockets?

Other options could be:

ibgreen commented 4 years ago

Yes good question. Not all use cases are clear yet, but this is part of the "transport protocol" vision, as one of the main ways to hold together a growing family of deck.gl clients and renderers.

I was thinking that we would make one implementation of the transport API that is web socket based, and we would be able to interchange the web client and the native client against a common server.

But we could certainly support other transport implementations. We need "full duplex" for full functionality (back-channel for events, rendered textures etc), but we could still do half-duplex (i.e HTTP) implementations with limited functionality.