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

nats-io / nats-server / 8446757186
83%

Build:
DEFAULT BRANCH: main
Ran 27 Mar 2024 05:22AM UTC
Jobs 1
Files 54
Run time 1min
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

26 Mar 2024 06:34PM UTC coverage: 85.277% (+0.06%) from 85.214%
8446757186

push

github

web-flow
[ADD] WebSocket custom response headers (#5230)

<!-- Please make sure to read CONTRIBUTING.md, then delete this notice
and replace it with your PR description. The below sign-off certifies
that the contribution is your original work and that you license the
work to the project under the Apache-2.0 license. We cannot accept
contributions without it. -->

Allow to configure extra headers for the WebSocket Upgrade Response:

For Example:
```
websocket {
    port: 8080
    no_tls: true
    headers {
        Strict-Transport-Security: "max-age=15768000 ; includeSubDomains"
        X-Frame-Options: "DENY"
    }
}
```


Related Issue: https://github.com/nats-io/nats-server/issues/5226

Signed-off-by: Ramon Berrutti <ramonberrutti@gmail.com>

64662 of 75826 relevant lines covered (85.28%)

190765.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8446757186.1 27 Mar 2024 05:22AM UTC 0
85.28
GitHub Action Run
Source Files on build 8446757186
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #8446757186
  • 76c4cc09 on github
  • Prev Build on main (#8430925599)
  • Next Build on main (#8462529031)
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