Comments (4)
@KrestenHelstrup the same applies when using a REST client. My advice would be to use the gRPC interface. The REST interface works as a proxy to the gRPC interface, thus when making a REST call there is an internal translation to a gRPC call:
REST client -> REST API -> gRCP
In order to support the streaming gRPC methods, these endpoints are wrapped in WebSockets. These layers were added to support the web-interface, as by then gRPC was not supported in the browser. This is now supported (through gRPC-web) and probably this translation layer is going to be removed in the next version (probably it could still be provided as external component).
It should be fairly easy to generate C# gRPC stubs from the proto files (https://grpc.io/docs/languages/csharp/quickstart/) and then the streaming of data should work out-of-the box :-)
from chirpstack-api.
Stream API not work from any browser see attached screenshot for your reference
You need to create a web-socket connection for stream APIs.
from chirpstack-api.
Thanks for the fast reply.
I already saw that note in the docs. I'm interfacing the API from C# with a RestClient. It works fine for all other things and I hoped it would work for the streams also - but maybe not ?
from chirpstack-api.
Hi @brocaar
Thank you very much for the input.
from chirpstack-api.
Related Issues (20)
- Cannot read property 'createInsecure' of undefined
- /api/organizations feature or issue ? HOT 2
- Put version string in one place
- Wish list: Update API and associated projects to Go protobuf V2 HOT 3
- Is the fuota.proto usable in Python? It's currently missing from the standard package
- Fix js/README.md / migrate user JWT to api-key JWT token HOT 2
- io.chirpstack
- uplinkID in UplinkRXInfo is parsed wrong as json
- Tags and Variables returned in Get /api/devices request
- Add support for PHP
- java api HOT 1
- Recent UplinkEvent changes not reflected in website event examples
- api generation in python betterproto format HOT 2
- Add C# namespace HOT 1
- Python installation of chirpstack-api does not include as_pb and other folders HOT 2
- Error message of "EnqueueMulticastGroupQueueItemRequest()" using python gRPC
- setTagsMap? HOT 1
- Use of eval in google-protobuf.js HOT 2
- Upgrade com.google.protobuf version from 3.21.3 to 4.26.1 in java subproject
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 chirpstack-api.