-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep Client synced with refactored Gockets:
- Updated API endpoints (rename GET /channel/show, add PATCH /channel/edit) - Updated Channel model (tag field added) - Implemented ChannelOptions model to have more consistent options when preparing or updating channel. Also updated unit tests and composer dependencies. Upgraded gockets execution binary in bin directory.
- Loading branch information
1 parent
eddd4a2
commit 449b6fa
Showing
12 changed files
with
159 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
managementProtect: true | ||
allowedHostnames: | ||
- localhost | ||
pingInterval: 10 | ||
logLevel: 3 | ||
port: 8844 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php declare(strict_types=1); | ||
|
||
namespace Gockets\Model; | ||
|
||
/** | ||
* Channel options object to be sent on channel prepare | ||
*/ | ||
final class ChannelOptions | ||
{ | ||
private $hookUrl; | ||
|
||
private $tag; | ||
|
||
public function __construct(?string $hookUrl, ?string $tag) | ||
{ | ||
$this->hookUrl = $hookUrl; | ||
$this->tag = $tag; | ||
} | ||
|
||
public function getHookUrl(): ?string | ||
{ | ||
return $this->hookUrl; | ||
} | ||
|
||
public function getTag(): ?string | ||
{ | ||
return $this->tag; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.