-
Notifications
You must be signed in to change notification settings - Fork 11
Added Cluster Support #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -83,7 +83,7 @@ public function __construct(Subject $client) | |||
* @throws \InvalidArgumentException | |||
* @return AsyncClient | |||
*/ | |||
public static function create(LoopInterface $loop, string $app, Resolver $resolver = null): AsyncClient | |||
public static function create(LoopInterface $loop, string $app, Resolver $resolver = null, $cluster = null): AsyncClient |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line exceeds 120 characters; contains 124 characters
@@ -43,5 +43,9 @@ public function testCreateUrl() | |||
$expectedUrl = 'wss://ws.pusherapp.com/app/barBaz?client=api-clients%2Fpusher+%28https%3A%2F%2Fphp-api-clients.org%2Fclients%2Fpusher%29&protocol=7&version=' . ApiSettings::getVersion(); | |||
|
|||
self::assertSame($expectedUrl, ApiSettings::createUrl('barBaz')); | |||
|
|||
$expectedUrl = 'wss://ws-ap1.pusher.com/app/barBaz?client=api-clients%2Fpusher+%28https%3A%2F%2Fphp-api-clients.org%2Fclients%2Fpusher%29&protocol=7&version=' . ApiSettings::getVersion(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line exceeds 120 characters; contains 195 characters
|
||
$expectedUrl = 'wss://ws-ap1.pusher.com/app/barBaz?client=api-clients%2Fpusher+%28https%3A%2F%2Fphp-api-clients.org%2Fclients%2Fpusher%29&protocol=7&version=' . ApiSettings::getVersion(); | ||
|
||
self::assertSame($expectedUrl, ApiSettings::createUrl('barBaz','ap1')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No space found after comma in function call
Sweet thanks 👍 ! I'll tag a new release with this feature later today 🎉 |
Thanks again, version |
Thanks mate :) |
No problem, also do you have twitter? Going to tweet about the release tomorrow and would like to thank you in it :). |
I'm afraid it's too late but is @robsonvn 😂 |
No description provided.