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

nats-io / nats-server / 8462529031 / 1
82%
main: 82%

Build:
DEFAULT BRANCH: main
Ran 28 Mar 2024 05:22AM UTC
Files 54
Run time 2s
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.1

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

Source Files on job 8462529031.1
  • Tree
  • List 0
  • Changed 43
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8462529031
  • 76c4cc09 on github
  • Prev Job for on main (#8446757186.1)
  • Next Job for on main (#8477284708.1)
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