Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostzero committed Jul 25, 2023
1 parent 7469afa commit ef3d4c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Own3d/Socket/SocketClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static function setBaseUrl(string $baseUrl): void
* Sends a message into the own3d websocket system.
*
* Required parameters:
* - room: string
* - room: string|string[]
* - event: string
* - data: array
*
Expand Down
2 changes: 1 addition & 1 deletion src/Own3d/Socket/Support/SocketToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class SocketToken

/**
* Generates a pre-signed token for the socket server to join a room.
*
* This will generate a token that can be used to authenticate with the socket server to join a specific room.
* If the room starts with `private`, the socket server will also join the public room with the same name.
*/
public static function auth(string $room): string
{
Expand Down

0 comments on commit ef3d4c8

Please sign in to comment.