Commit Graph

10 Commits

Author SHA1 Message Date
Fabian @ Blax Software 32a0a8f4cc docs(agents): add AGENTS.md source-verified reference + fix stale wsSession/install docs
- AGENTS.md: canonical agent/contributor reference — #[Websocket] attribute vs native
  Websocket\Controller, the :progress/:response/:error wire protocol,
  progress/success/error/broadcast/whisper, ws_broadcast/ws_whisper/wsSession globals,
  the fork-per-message execution model, auth()->user() over the bridge, defer() vs Jobs,
  resolver cache/restart, and a footgun checklist with a source map.
- README + docs/advanced-usage/helpers-and-testing: replace the fictional
  wsSession('channel', [...]) "auth payload" example — wsSession() takes no arguments and
  returns a per-connection store — and fix WebsocketService::getAuth($socketId) signature.
- docs/getting-started/installation: beyondcode -> blax-software composer require.
2026-06-30 10:56:25 +02:00
Fabian @ Blax Software 093bbe3a44 A tests, documentation for helpers and lifecycle
- Introduced `helpers-and-testing.md` to document global helpers and WebsocketService class usage.
- Created `HandlerLifecycleTest.php` to test the full WebSocket handler lifecycle, including connection management, channel subscriptions, and message routing.
- Added `WebsocketServiceTest.php` to validate state tracking methods in WebsocketService, covering user authentication, channel tracking, and broadcast functionality.
2026-04-02 12:44:16 +02:00
Alexander Blasl 1a5db82c26 Renovation 2025-01-16 08:54:02 +01:00
Alex Renoki c43a9d4d46 Fixed Routes registration 2021-04-06 17:21:15 +03:00
rennokki a7c505e683
[2.x] Dispatch events on actions (#556)
* Dispatching events
2020-09-26 22:01:58 +03:00
Alex Renoki cc5e74e7e2 Updated docs 2020-09-11 09:25:13 +03:00
Alex Renoki 545501d575 Added events for sub/unsub/messages sent 2020-09-02 17:16:34 +03:00
Alex Renoki 0b412cd98e added docblocks 2020-08-18 20:21:22 +03:00
Alex Renoki ffcc772ec8 Updated docs 2020-08-18 15:29:49 +03:00
Marcel Pociot 0b351d80ec Add documentation 2020-06-02 10:56:13 +02:00