You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked the PHP extension and configured it numerous times. I'm sure there is no error.
php -m as follows:
php --ri openswoole as follows:
php code as follows:
`<?php
use Microservice\Admin\AdminService;
use OpenSwoole\GRPC\Middleware\LoggingMiddleware;
use OpenSwoole\GRPC\Middleware\TraceMiddleware;
use OpenSwoole\GRPC\Server;
$server = (new Server('127.0.0.1', 9501))
->register(AdminService::class)
->withWorkerContext('worker_start_time', function () {
return time();
})
// use middlewares
->addMiddleware(new LoggingMiddleware())
->addMiddleware(new TraceMiddleware())
->start();`
Why not? I'll be emotional. :(
The text was updated successfully, but these errors were encountered:
I have checked the PHP extension and configured it numerous times. I'm sure there is no error.
php -m as follows:
php --ri openswoole as follows:
php code as follows:
`<?php
use Microservice\Admin\AdminService;
use OpenSwoole\GRPC\Middleware\LoggingMiddleware;
use OpenSwoole\GRPC\Middleware\TraceMiddleware;
use OpenSwoole\GRPC\Server;
$server = (new Server('127.0.0.1', 9501))
->register(AdminService::class)
->withWorkerContext('worker_start_time', function () {
return time();
})
// use middlewares
->addMiddleware(new LoggingMiddleware())
->addMiddleware(new TraceMiddleware())
->start();`
Why not? I'll be emotional. :(
The text was updated successfully, but these errors were encountered: