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

nats-io / nats-server / 8462529031
83%

Build:
DEFAULT BRANCH: main
Ran 28 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.273% (-0.004%) from 85.277%
8462529031

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>

64659 of 75826 relevant lines covered (85.27%)

190664.68 hits per line

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