You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
453 B
25 lines
453 B
# nex-php 1.1.0 |
|
|
|
Implemented optional Server response returned by custom handler |
|
|
|
``` php |
|
$server->start( |
|
function ( |
|
string $request, |
|
string $connect |
|
): ?string |
|
{ |
|
printf( |
|
'connection: %s request: %s', |
|
$connect, |
|
$request |
|
); |
|
|
|
return null; // null|string response |
|
} |
|
); |
|
``` |
|
|
|
## Links |
|
|
|
=> https://github.com/YGGverse/nex-php/releases/tag/1.1.0 Download nex-php 1.1.0 |