Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetty 12 - Add a WebSocket MessageSink for Flow.Publisher #9722

Open
sbordet opened this issue May 2, 2023 · 1 comment
Open

Jetty 12 - Add a WebSocket MessageSink for Flow.Publisher #9722

sbordet opened this issue May 2, 2023 · 1 comment

Comments

@sbordet
Copy link
Contributor

sbordet commented May 2, 2023

Jetty version(s)
12+

Enhancement Description
As we have MessageSink for InputStream, we could have an implementation for Flow.Publisher<ByteBuffer> since we cannot directly have Content.Source due to classloading issues.

@WebSocket
public class WSEndpoint {
  @OnWebSocketMessage
  public void onMessage(Flow.Publisher<ByteBuffer> publisher) {
    // Consume the message asynchronously.
  }
}
Copy link

github-actions bot commented May 2, 2024

This issue has been automatically marked as stale because it has been a
full year without activity. It will be closed if no further activity occurs.
Thank you for your contributions.

@github-actions github-actions bot added the Stale For auto-closed stale issues and pull requests label May 2, 2024
@sbordet sbordet removed the Stale For auto-closed stale issues and pull requests label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant