Свойство | Тип | Описание | |
---|---|---|---|
$port | |||
$url |
Метод | Описание | |
---|---|---|
enqueue ( array | Psr\Http\Message\ResponseInterface $responses ) | Queue an array of responses or a single response on the server. | |
flush ( ) | Flush the received requests from the server | |
received ( ) : Psr\Http\Message\ResponseInterface[] | Get all of the received requests | |
start ( ) | ||
stop ( ) | Stop running the node.js server | |
wait ( $maxTries = 5 ) |
Метод | Описание | |
---|---|---|
getClient ( ) | ||
isListening ( ) |
public static flush ( ) |
public static received ( ) : Psr\Http\Message\ResponseInterface[] | ||
Результат | Psr\Http\Message\ResponseInterface[] |