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

nats-io / nats-server / 4910
88%
main: 83%

Build:
Build:
LAST BUILD BRANCH: fix_code_coverage
DEFAULT BRANCH: main
Ran 09 Mar 2020 05:59PM UTC
Jobs 1
Files 28
Run time 26s
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

09 Mar 2020 05:53PM UTC coverage: 91.118% (+0.002%) from 91.116%
4910

push

travis-ci

kozlovic
[ADDED] Websocket support

Websocket support can be enabled with a new websocket
configuration block:

```
websocket {
    # Specify a host and port to listen for websocket connections
    # listen: "host:port"

    # It can also be configured with individual parameters,
    # namely host and port.
    # host: "hostname"
    # port: 4443

    # TLS configuration is required
    tls {
      cert_file: "/path/to/cert.pem"
      key_file: "/path/to/key.pem"
    }

    # If same_origin is true, then the Origin header of the
    # client request must match the request's Host.
    # same_origin: true

    # This list specifies the only accepted values for
    # the client's request Origin header. The scheme,
    # host and port must match. By convention, the
    # absence of port for an http:// scheme will be 80,
    # and for https:// will be 443.
    # allowed_origins [
    #    "http://www.example.com"
    #    "https://www.other-example.com"
    # ]

    # This is the total time allowed for the server to
    # read the client request and write the response back
    # to the client. This include the time needed for the
    # TLS handshake.
    # handshake_timeout: "2s"
}
```

Use of "https://" is enforced.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>

18640 of 20457 relevant lines covered (91.12%)

74145.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4910.1 (GO111MODULE=off) 09 Mar 2020 05:59PM UTC 0
91.12
Travis Job 4910.1
Source Files on build 4910
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4910
  • 80d0d1c8 on github
  • Prev Build on websocket (#4897)
  • Next Build on websocket (#4920)
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