Craig
Craig
Use websockets to hopefully handle this issue
I assume you are talking about https://github.com/VOLTTRON/volttron/blob/main/services/core/PlatformDriverAgent/platform_driver/interfaces/restful.py. How would you have the agent parse the payload? Do you have something in mind? Will the response be in xml, json, protocol...
That's what you would generally need to do for each of the potential payloads. I wouldn't call that Jerry Rig though I would call that development using open source technology....
If you are going to use it in a greenlet requests is fine, if you are going to use it outside of a greenlet then use grequests. The difference being...
See issue #356
@rlutes can you remove the boiler plate from your issue. Provide an example as well.
@jklarson is this similar or not to https://stackoverflow.com/questions/66889829/volttron-nosegmentationsupported-for-bacnet-devices
Links for implementor https://stackoverflow.com/questions/8506897/how-do-i-gzip-compress-a-string-in-python https://developer.mozilla.org/en-US/docs/Web/HTTP/Compression https://en.wikipedia.org/wiki/HTTP_compression
I am going to suggest not to take #1379 as is, but instead wait for the discussion on #1378 and epic #1382 to handle this.
@carlatpnl Can you puruse the new documentation and see if we have de-confused this isssue for you https://volttron.readthedocs.io/en/master/search.html?q=eclipse&check_keywords=yes&area=default