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

HyperionGray / trio-websocket / 42
81%
master: 95%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/pygments-2.7.4
DEFAULT BRANCH: master
Ran 19 Oct 2018 02:12AM UTC
Jobs 2
Files 3
Run time 52s
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

pending completion
42

push

travis-ci

mehaase
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.

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

Jobs
ID Job ID Ran Files Coverage
1 42.1 19 Oct 2018 02:12AM UTC 0
81.4
Travis Job 42.1
2 42.2 19 Oct 2018 02:13AM UTC 0
80.99
Travis Job 42.2
Source Files on build 42
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #42
  • ed3b2bc0 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

© 2026 Coveralls, Inc