src/Leevel/Protocol/Thrift/Service/ThriftHandler.php
public function call(Request $request): Response
    {
        $httpRequest = $this->normalizeRequest($request);

        $response = App::make(IKernel::class)->handle($httpRequest);

        return $this->normalizeResponse($response);
    }
public function call(Request $request): Response
    {
        $httpRequest = $this->normalizeRequest($request);

        $response = App::make(IKernel::class)->handle($httpRequest);

        return $this->normalizeResponse($response);
    }
定义一个响应包结构.

@param \Leevel\Protocol\Thrift\Service\Request $request

@return \Leevel\Protocol\Thrift\Service\Response