LangStream/langstream

[gateway] Support HTTP request/reply interactions

eolivelli opened this issue · 0 comments

Feature request:

The Gateway opens only WebSocket endpoints, it is not possible to use simple HTTP requests to interact with LangStream applications.

We should add two new types of interactions:

  • post a message to a gateway (an HTTP POST is enough), this triggers the execution of a pipeline consuming from the topic
  • implement request/reply

Request/Reply:
You post a message to a topic and way up to a give timeout that the answer arrives to another topic.