Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
React
Tests
Socket
ServerTest
tearDown
React\Tests\Socket\ServerTest::tearDown PHP Метод
Документация по классу ServerTest
Показать файл
Открыть проект
tearDown()
публичный
Метод
public
tearDown
( )
public function tearDown() { if ($this->server) { $this->server->shutdown(); } }
ServerTest
createLoop
setUp
tearDown
testConnection
testConnectionDoesEndWhenClientCloses
testConnectionDoesNotEndWhenClientDoesNotClose
testConnectionWithManyClients
testDataEventWillNotBeEmittedWhenClientSendsNoData
testDataWillBeEmittedEvenWhenClientShutsDownAfterSending
testDataWillBeEmittedInMultipleChunksWhenClientSendsExcessiveAmounts
testDataWillBeEmittedWithDataClientSends
testDataWillBeFragmentedToBufferSize
testListenOnBusyPortThrows
testLoopWillEndWhenServerIsShutDown
testLoopWillEndWhenServerIsShutDownAfterSingleConnection