aries-staticagent-python icon indicating copy to clipboard operation
aries-staticagent-python copied to clipboard

Add support for connecting to Full Agent via WebSocket

Open dbluhm opened this issue 6 years ago • 0 comments

Currently, the Static Agent Library only has support for sending messages over POST to its paired Full Agent. This covers one of the most common use cases. Supporting WebSockets will enhance communications where multiple messages are going to be sent and received.

StaticAgentConnection should determine whether to use POST or WebSocket by checking the schema of the endpoint passed to it (http://example.com/ vs. ws://example.com/).

This is closely related to #5 since the paired Full Agent won't respond over the current connection unless told to do so through the ~transport decorator and a specified return_route.

dbluhm avatar Jun 26 '19 13:06 dbluhm