This project is mirrored from https://github.com/nhooyr/websocket.
Pull mirroring updated .
- Mar 14, 2025
-
-
Mathias Fredriksson authored
-
Mathias Fredriksson authored
* build: update to Go 1.23 * ci: update tools
-
Mathias Fredriksson authored
-
- Jan 30, 2025
-
-
Iñigo Garcia Olaizola authored
-
Iñigo Garcia Olaizola authored
This change adds two optional callbacks to both `DialOptions` and `AcceptOptions`. These callbacks are invoked synchronously when a ping or pong frame is received, allowing advanced users to log or inspect payloads for metrics or debugging. If the callback needs to perform more complex work or reuse the payload outside the callback, it is recommended to perform processing in a separate goroutine. The boolean return value of `OnPingReceived` is used to determine if the subsequent pong frame should be sent. If `false` is returned, the pong frame is not sent. Fixes #246
-
- Jan 29, 2025
-
-
W. Michael Petullo authored
-
Iñigo Garcia Olaizola authored
-
Iñigo Garcia Olaizola authored
Fixes #512
-
- Dec 04, 2024
-
-
Moritz authored
Co-authored-by:
Mathias Fredriksson <mafredri@gmail.com>
-
- Nov 07, 2024
-
-
dependabot[bot] authored
Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Mathias Fredriksson authored
-
Chun-Hung Tseng authored
Fix typo in chat_test.go Co-authored-by:
Mathias Fredriksson <mafredri@gmail.com>
-
- Sep 19, 2024
-
-
Mathias Fredriksson authored
-
Mathias Fredriksson authored
-
- Sep 12, 2024
-
-
Mathias Fredriksson authored
Contributes to #474
-
- Sep 09, 2024
-
-
dependabot[bot] authored
build(deps): bump golang.org/x/time in /internal/examples Bumps [golang.org/x/time](https://github.com/golang/time) from 0.3.0 to 0.6.0. - [Commits](https://github.com/golang/time/compare/v0.3.0...v0.6.0 ) --- updated-dependencies: - dependency-name: golang.org/x/time dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Muhammad Atif Ali authored
-
Muhammad Atif Ali authored
* chore: prevent ci from running twice on PRs Now CI will only run on push to `master` and PRs to `master`. Previously, it was running twice on each push to a PR branch, once for the PR to `master` and once for pushing to the PR branch.
-
- Aug 22, 2024
-
-
Mathias Fredriksson authored
Since we rely on the connection not being hijacked too early (i.e. detecting the presence of http.Hijacker) to set headers, we must manually implement the unwrapping of the http.ResponseController. By doing so, we also retain Go 1.19 compatibility without build tags. Closes #455
-
- Aug 21, 2024
-
-
bestgopher authored
Signed-off-by:
bestgopher <84328409@qq.com>
-
Kian Yang Lee authored
OS-specific behaviour is not necessary. This PR replaces filepath.Match with path.Match and also updated the documentation to reflect that. Closes #451
-
- Aug 15, 2024
-
-
Mathias Fredriksson authored
Sunset the dev branch
-
Mathias Fredriksson authored
-
Mathias Fredriksson authored
Revert "Split coverage and deploy jobs in static.yml to avoid env issue"
-
Mathias Fredriksson authored
This reverts commit 0f14077d.
-
Mathias Fredriksson authored
Clean out env passed to wasmbrowsertest in TestWasm
-
Mathias Fredriksson authored
-
Mathias Fredriksson authored
Split coverage and deploy jobs in static.yml to avoid env issue
-
Mathias Fredriksson authored
-
Mathias Fredriksson authored
Add setup-go to static.yml
-
Mathias Fredriksson authored
-
Mathias Fredriksson authored
Fix coverage
-
Mathias Fredriksson authored
-
- Aug 09, 2024
-
-
Ammar Bandukwala authored
Add transfer notice to README
-
Ammar Bandukwala authored
-
Ammar Bandukwala authored
Update import path to github.com/coder/websocket
-
Ammar Bandukwala authored
vulncheck was using slices which is only in newer Go versions.
-
Ammar Bandukwala authored
This will create easily solved breakage on updates but I figure it's best to pull the band aid off as early as possible
-
- Apr 12, 2024
-
-
Quinn Rivenwell authored
Use new atomic types from Go 1.19
-
- Apr 11, 2024
-
-
Jacob authored
-