{"id":37167377,"url":"https://github.com/icarephone/websocket","last_synced_at":"2026-01-14T19:48:40.433Z","repository":{"id":40250936,"uuid":"273424208","full_name":"icarephone/websocket","owner":"icarephone","description":"Gorilla WebSocket implementation for fasthttp.","archived":false,"fork":false,"pushed_at":"2023-03-16T05:56:41.000Z","size":91,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T19:19:14.869Z","etag":null,"topics":["go","websocket"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icarephone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-19T06:46:09.000Z","updated_at":"2020-06-19T08:15:19.000Z","dependencies_parsed_at":"2024-06-20T18:52:05.719Z","dependency_job_id":null,"html_url":"https://github.com/icarephone/websocket","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/icarephone/websocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarephone%2Fwebsocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarephone%2Fwebsocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarephone%2Fwebsocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarephone%2Fwebsocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icarephone","download_url":"https://codeload.github.com/icarephone/websocket/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icarephone%2Fwebsocket/sbom","scorecard":{"id":479709,"data":{"date":"2025-08-11","repo":{"name":"github.com/icarephone/websocket","commit":"6a43102c2ff243441b41c44b913645704374318a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/icarephone/websocket/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/icarephone/websocket/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/icarephone/websocket/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/icarephone/websocket/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/icarephone/websocket/release.yml/master?enable=pin","Warn: downloadThenRun not pinned by hash: .github/workflows/go.yml:29","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   1 out of   1 goCommand dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 2-Clause \"Simplified\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0355 / GHSA-fx95-883v-4q4h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T16:17:54.702Z","repository_id":40250936,"created_at":"2025-08-19T16:17:54.702Z","updated_at":"2025-08-19T16:17:54.702Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28433018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","websocket"],"created_at":"2026-01-14T19:48:39.658Z","updated_at":"2026-01-14T19:48:40.410Z","avatar_url":"https://github.com/icarephone.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fasthttp Gorilla WebSocket\n\n[![Build Status](https://travis-ci.org/fasthttp/websocket.svg?branch=master)](https://travis-ci.org/fasthttp/websocket)\n[![Go Report Card](https://goreportcard.com/badge/github.com/icarephone/websocket)](https://goreportcard.com/report/github.com/icarephone/websocket)\n[![GoDev](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go\u0026logoColor=white)](https://pkg.go.dev/github.com/icarephone/websocket)\n[![GitHub release](https://img.shields.io/github/release/fasthttp/websocket.svg)](https://github.com/icarephone/websocket/releases)\n\n[Gorilla WebSocket](https://github.com/gorilla/websocket) is a [Go](http://golang.org/) implementation of the\n[WebSocket](http://www.rfc-editor.org/rfc/rfc6455.txt) protocol.\n\nThis fork adds [fasthttp](https://github.com/valyala/fasthttp) support to the latest version of [gorilla/websocket](https://github.com/gorilla/websocket).\n\n### Documentation\n\n* [API Reference](https://pkg.go.dev/github.com/icarephone/websocket?tab=doc)\n* [Chat example](_examples/chat)\n* [Command example](_examples/command)\n* [Client and server example](_examples/echo)\n* [File watch example](_examples/filewatch)\n\n### Status\n\nThe Gorilla WebSocket package provides a complete and tested implementation of\nthe [WebSocket](http://www.rfc-editor.org/rfc/rfc6455.txt) protocol. The\npackage API is stable.\n\n### Installation\n\n```\ngo get github.com/icarephone/websocket\n```\nBut beware that this will fetch the **latest commit of the master branch** which is never purposely broken, but usually not considered stable anyway.\n\n#### Dep\n If you're using [dep](https://github.com/golang/dep), just use `dep ensure` to add\na specific version of fasthttp/websocket including all its transitive dependencies to\nyour project:\n ```\ndep ensure -add github.com/icarephone/websocket@v1.4.0\n```\n\n**IMPORTANT:** [dep](https://github.com/golang/dep) is only supported until version v1.4.0. In future versions will use Go modules.\n\n### Protocol Compliance\n\nThe Gorilla WebSocket package passes the server tests in the [Autobahn Test\nSuite](https://github.com/crossbario/autobahn-testsuite) using the application in the [examples/autobahn\nsubdirectory](_examples/autobahn).\n\n### Gorilla WebSocket compared with other packages\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003cth\u003e\u003c/th\u003e\n\u003cth\u003e\u003ca href=\"http://godoc.org/github.com/icarephone/websocket\"\u003egithub.com/fasthttp\u003c/a\u003e\u003c/th\u003e\n\u003cth\u003e\u003ca href=\"http://godoc.org/golang.org/x/net/websocket\"\u003egolang.org/x/net\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctr\u003e\u003ctd colspan=\"3\"\u003e\u003ca href=\"http://tools.ietf.org/html/rfc6455\"\u003eRFC 6455\u003c/a\u003e Features\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003ePasses \u003ca href=\"https://github.com/crossbario/autobahn-testsuite\"\u003eAutobahn Test Suite\u003c/a\u003e\u003c/td\u003e\u003ctd\u003e\u003ca href=\"https://github.com/icarephone/websocket/tree/master/examples/autobahn\"\u003eYes\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eNo\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003eReceive \u003ca href=\"https://tools.ietf.org/html/rfc6455#section-5.4\"\u003efragmented\u003c/a\u003e message\u003ctd\u003eYes\u003c/td\u003e\u003ctd\u003e\u003ca href=\"https://code.google.com/p/go/issues/detail?id=7632\"\u003eNo\u003c/a\u003e, see note 1\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003eSend \u003ca href=\"https://tools.ietf.org/html/rfc6455#section-5.5.1\"\u003eclose\u003c/a\u003e message\u003c/td\u003e\u003ctd\u003e\u003ca href=\"http://godoc.org/github.com/icarephone/websocket#hdr-Control_Messages\"\u003eYes\u003c/a\u003e\u003c/td\u003e\u003ctd\u003e\u003ca href=\"https://code.google.com/p/go/issues/detail?id=4588\"\u003eNo\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003eSend \u003ca href=\"https://tools.ietf.org/html/rfc6455#section-5.5.2\"\u003epings\u003c/a\u003e and receive \u003ca href=\"https://tools.ietf.org/html/rfc6455#section-5.5.3\"\u003epongs\u003c/a\u003e\u003c/td\u003e\u003ctd\u003e\u003ca href=\"http://godoc.org/github.com/icarephone/websocket#hdr-Control_Messages\"\u003eYes\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eNo\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003eGet the \u003ca href=\"https://tools.ietf.org/html/rfc6455#section-5.6\"\u003etype\u003c/a\u003e of a received data message\u003c/td\u003e\u003ctd\u003eYes\u003c/td\u003e\u003ctd\u003eYes, see note 2\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd colspan=\"3\"\u003eOther Features\u003c/tr\u003e\u003c/td\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https://tools.ietf.org/html/rfc7692\"\u003eCompression Extensions\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eExperimental\u003c/td\u003e\u003ctd\u003eNo\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003eRead message using io.Reader\u003c/td\u003e\u003ctd\u003e\u003ca href=\"http://godoc.org/github.com/icarephone/websocket#Conn.NextReader\"\u003eYes\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eNo, see note 3\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003eWrite message using io.WriteCloser\u003c/td\u003e\u003ctd\u003e\u003ca href=\"http://godoc.org/github.com/icarephone/websocket#Conn.NextWriter\"\u003eYes\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eNo, see note 3\u003c/td\u003e\u003c/tr\u003e\n\u003c/table\u003e\n\nNotes:\n\n1. Large messages are fragmented in [Chrome's new WebSocket implementation](http://www.ietf.org/mail-archive/web/hybi/current/msg10503.html).\n2. The application can get the type of a received data message by implementing\n   a [codec marshal](http://godoc.org/golang.org/x/net/websocket#Codec.Marshal)\n   function.\n3. The [go/net](https://golang.org/pkg/net/) `io.Reader` and `io.Writer` operate across WebSocket frame boundaries.\n  Read returns when the input buffer is full or a frame boundary is\n  encountered. Each call to Write sends a single frame message. The Gorilla\n  `io.Reader` and `io.WriteCloser` operate on a single WebSocket message.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficarephone%2Fwebsocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficarephone%2Fwebsocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficarephone%2Fwebsocket/lists"}