You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.
I have the impression that SwaggerSocket only supports a correlated request-response model. In other words, SwaggerSocket does not support POST requests being pushed from the server. Correct? Could that feature be added?
I bring this up because I'm thinking about the webhook paradigm. A webhook is usually a POST request. If I were to convert an existing webhook enabled application to use SwaggerSocket, I'd want SwaggerSocket to support a subscription model, where POST requests are arbitrarily sent to the client.
The text was updated successfully, but these errors were encountered:
If your jaxrs resource is holding on to the output stream (over StreamingOutput or HttpServletResponse), you can push data asynchronously over that stream. There is a sample in cxf's samples that uses this approach to return a series of server events.
I have the impression that SwaggerSocket only supports a correlated request-response model. In other words, SwaggerSocket does not support POST requests being pushed from the server. Correct? Could that feature be added?
I bring this up because I'm thinking about the webhook paradigm. A webhook is usually a POST request. If I were to convert an existing webhook enabled application to use SwaggerSocket, I'd want SwaggerSocket to support a subscription model, where POST requests are arbitrarily sent to the client.
The text was updated successfully, but these errors were encountered: