Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Pluggable websocket support

Đang mở
#704 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
backend

Hướng nghiên cứu

Start by tracing the websocket implementation and the mentioned WebSocketAdapter, then inspect how HtmlUnit configures its Jetty client. The issue asks for a way to select a different websocket client implementation; define and test the configuration behavior, including compatibility with the Jetty versions mentioned. The discussion has had no activity for months, so confirm the direction with maintainers before starting.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Currently the support for websocket is realized using the Jetty-client which is per se fine and works as expected.
As we use htmlunit in a environment with Selenium and a embedded Jetty for serving our application we struggle with jar versions for our testenvironment. We already updated to Jetty 10 and alternatively use Jetty 11 to prove compatibility with JakartaEE 9.

As far as I can see htmlunit is more or less hardwired to using Jetty 9.x even if there seems to be the idea of plugging different websocket-implementations through WebSocketAdapter. Unfortunately there is no configuration to link a different implementation.

Introducing such a configuration would allow to use different client-implementations and possibly could as well help to scope with issues like #36

Ngôn ngữ chính
JavaScript
Star
952
Fork
183
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của HtmlUnit/htmlunit

Tất cả issue của HtmlUnit/htmlunit

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.