mirror of
https://github.com/YGGverse/yggverse.github.io.git
synced 2025-01-15 17:40:06 +00:00
25 lines
453 B
Plaintext
25 lines
453 B
Plaintext
# 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 |