{"id":19524092,"url":"https://github.com/hexonthebeach/posh-mod-websocket","last_synced_at":"2026-06-16T00:33:55.470Z","repository":{"id":178793514,"uuid":"134470864","full_name":"hexonthebeach/posh-mod-websocket","owner":"hexonthebeach","description":"PowerShell module for using a WebSocket service","archived":false,"fork":false,"pushed_at":"2018-06-07T22:02:25.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T01:27:37.368Z","etag":null,"topics":["powershell","websockets"],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hexonthebeach.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-22T20:16:20.000Z","updated_at":"2023-03-15T10:44:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"b6696f4b-622d-4fa5-ba24-c69d2d59e3b5","html_url":"https://github.com/hexonthebeach/posh-mod-websocket","commit_stats":null,"previous_names":["hexonthebeach/posh-mod-websocket"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hexonthebeach/posh-mod-websocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexonthebeach%2Fposh-mod-websocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexonthebeach%2Fposh-mod-websocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexonthebeach%2Fposh-mod-websocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexonthebeach%2Fposh-mod-websocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexonthebeach","download_url":"https://codeload.github.com/hexonthebeach/posh-mod-websocket/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexonthebeach%2Fposh-mod-websocket/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34386320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["powershell","websockets"],"created_at":"2024-11-11T00:45:51.513Z","updated_at":"2026-06-16T00:33:55.450Z","avatar_url":"https://github.com/hexonthebeach.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# POSH-MOD-WEBSOCKET\nPowerShell module for using a WebSocket service\n\n## Description\nMake interaction with a Websocket service easy by abstracting away all the hassle, hiding that behind nice functions.\n\n## Installation\nClone the project to a directory that can be read by your script.\n\n``Import-Module \"path\\to\\module.psm1\"`` \n\n## How\nThe module contains the bare essentials for setting up a websocket connection, you will need to apply any kind of logic around the functions yourself.\n\nThese Functions are available when you imported the module :\n\n``Connect-Websocket`` -Endpoint\n\n``Test-Websocket``\n\n``Disconnect-Websocket``\n\n``Send-Message`` -Message\n\n``Receive-Message``\n\nIn the examples folder I added a script connecting to a public websocket service.\n\nHere is how it basicly fits together :\n```\nConnect-Websocket -Endpoint \"wss://any.websocket.service\"\nSend-Message -Message '{\"subscription_or\":\"authentication_message\"}'\nwhile( Test-Websocket ){\n    Receive-Message\n}\nDisconnect-Websocket\n```\n\n### Thanks\nwragg.io","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexonthebeach%2Fposh-mod-websocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexonthebeach%2Fposh-mod-websocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexonthebeach%2Fposh-mod-websocket/lists"}