Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.9.1
-
Patch Available
Description
Attached patch contains implementation of TMultiplexedProtocol for PHP Thrift client that used TProtocolDecorator (the same approach from Java client).
Example:
$socket = new TSocket('localhost', '9090'); $transport = new TBufferedTransport($socket); $protocol = new TMultiplexedProtocol(new TBinaryProtocol($transport), "CalcService"); $transport->open(); $calcService = new CalcServiceClient($protocol); $calcService->calculate();
Attachments
Attachments
Issue Links
- is related to
-
THRIFT-2425 PHP: Server-side support for Multiplexing Services
- Closed