• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

HyperionGray / trio-websocket
81%
master: 95%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/pygments-2.7.4
DEFAULT BRANCH: master
Repo Added 12 Oct 2018 03:30PM UTC
Files 3
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH improve_handshake
branch: improve_handshake
CHANGE BRANCH
x
Reset
  • improve_handshake
  • 0.2.0
  • 0.3.0
  • 0.4.0
  • 0.5.0
  • 0.6.0
  • 0.7.0
  • 0.8.0
  • 0.8.1
  • 0.9.0
  • 0.9.1
  • 0.9.2
  • add_timeouts
  • belm0-patch-1
  • belm0-patch-2
  • catch_protocol_error
  • close_reason_race
  • combine_closed_properties
  • configure_message_buffer
  • create_docs
  • delay_connection_closed
  • dependabot/pip/babel-2.9.1
  • dependabot/pip/bleach-3.3.0
  • dependabot/pip/cryptography-3.3.2
  • dependabot/pip/jinja2-2.11.3
  • dependabot/pip/py-1.10.0
  • dependabot/pip/pygments-2.7.4
  • dependabot/pip/urllib3-1.26.3
  • dependabot/pip/urllib3-1.26.4
  • dependabot/pip/urllib3-1.26.5
  • deterministic_close_race
  • endpoint_info
  • example_client_handle_close_v2
  • fix_tcp_connection_close
  • hide_implementation_details
  • improve_ping
  • improve_ping_v2
  • issue_96
  • master
  • move_dev_dependencies
  • py35
  • reject_conn
  • revert-75-sphinx_dependency
  • send_extra_headers
  • server-run-docs
  • server_handler_exit_test
  • use_trio_channels
  • wrap_server_stream_type
  • wsproto_0.14

pending completion
43

Pull #62

travis-ci

web-flow
Allow more control over handshake (#4)

First attempt at this. Server handlers now receive a WebSocketRequest
instead of a WebSocketConnection. The request object provides the
client's handshake parameters and allows the server to finalize
handshake parameters. The server calls the requests ``accept()``
method to finish the handshake and obtain a connection object.

This first version exposes the request URL, headers, and subprotocols
to the server. The server is allowed to select a subprotocol. In future
versions (given support in wsproto), we can expand the request object
to customize headers and choose extensions.

In addition, the tests are updated: one new test to cover the
selection of a subprotocol, plus updates to existing tests to handle
the new request->connection step.

Finally, the README and example server are updated to show the new
request->connection step.
Pull Request #62: Allow more control over handshake (#4)

61 of 61 new or added lines in 1 file covered. (100.0%)

394 of 484 relevant lines covered (81.4%)

1.62 hits per line

Relevant lines Covered
Build:
Build:
484 RELEVANT LINES 394 COVERED LINES
1.62 HITS PER LINE
Source Files on improve_handshake
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
43 improve_handshake Allow more control over handshake (#4) First attempt at this. Server handlers now receive a WebSocketRequest instead of a WebSocketConnection. The request object provides the client's handshake parameters and allows the server to finalize handsha... Pull #62 19 Oct 2018 02:13AM UTC web-flow travis-ci pending completion  
42 improve_handshake Allow more control over handshake (#4) First attempt at this. Server handlers now receive a WebSocketRequest instead of a WebSocketConnection. The request object provides the client's handshake parameters and allows the server to finalize handsha... push 19 Oct 2018 02:12AM UTC mehaase travis-ci pending completion  
See All Builds (313)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc