[Server] Add Bidirectional Client Communication Support (#109)
* feat(server): add bidirectional client communication support * fix(server): use correct session ID string conversion method * fix: clean up docblocks for request handler methods in Builder * fix: merge artifacts
This commit is contained in:
parent
0963d243bc
commit
f1b471a219
1 changed files with 1973 additions and 445 deletions
|
|
@ -98,7 +98,7 @@ final class MessageFactoryTest extends TestCase
|
|||
$results = $this->factory->create($json);
|
||||
|
||||
$this->assertCount(1, $results);
|
||||
/** @var Response $result */
|
||||
/** @var Response<array<string, mixed>> $result */
|
||||
$result = $results[0];
|
||||
$this->assertInstanceOf(Response::class, $result);
|
||||
$this->assertSame(456, $result->getId());
|
||||
|
|
@ -113,7 +113,7 @@ final class MessageFactoryTest extends TestCase
|
|||
$results = $this->factory->create($json);
|
||||
|
||||
$this->assertCount(1, $results);
|
||||
/** @var Response $result */
|
||||
/** @var Response<array<string, mixed>> $result */
|
||||
$result = $results[0];
|
||||
$this->assertInstanceOf(Response::class, $result);
|
||||
$this->assertSame('response-1', $result->getId());
|
||||
|
|
|
|||
Loading…
Reference in a new issue