Commit Graph

94 Commits

Author SHA1 Message Date
Stanley Cheung 44b113b3c1
PHP: stop reading composer.json file just to read the version string (#26156)
* PHP: remove reading from composer.json just for the version string

* Be extra defensive
2021-05-10 15:45:40 -07:00
Hannah Shi 6769ce39f4
PHP: php server commit 4/n, add RpcServer, generator and server examples (#25640)
* add RpcServer and generator
add server examples: greeter and route guide

* php server generator xds client

* add generated stub

* fix clang format fail
2021-05-01 01:07:44 -07:00
Stanley Cheung c0a78774f8
PHP: allow xDS interop client to start RPCs asynchronously (#25696)
* PHP: allow xDS interop client to start RPCs asynchronously

* Address review comments

* Remove adhoc test config
2021-04-08 20:02:04 -07:00
Stanley Cheung 82625840bc
PHP: remove experimental from Interceptor API (#25788) 2021-03-23 11:45:56 -07:00
Hannah Shi d098697659
PHP: php server commit 3/n, add ServerContext and MethodDescriptor (#25399)
* add ServerContext and MethodDescriptor

* re-run generate_projects.sh
2021-03-03 22:36:49 -08:00
Hannah Shi 061fcbb214
PHP: php server commit 2/n, add Server Call (#25397)
* php server commit 2, server call

* re-run generate_projects.sh

* temp solution to avoid using autoload

* remove type-hint of
2021-03-03 11:57:43 -08:00
root bd48e43fc8 php server commit 1, status 2021-02-02 16:34:11 +00:00
root cb2e78c59e fix phpunit 8 warnings 2021-01-13 16:01:33 +00:00
Stanley Cheung 7889bc9e55
Merge pull request #23020 from jeffreyqw/remove-deserializefunc
PHP: AbstractCall remove decode method
2020-05-28 17:58:01 -07:00
jeffreyqw 5e5080e1da remove extra if clause 2020-05-28 15:55:28 -07:00
Stanley Cheung 3614b0088c PHP xDS Interop test client 2020-05-27 21:11:49 -07:00
jeffreyqw 3a598311af remove 'method_exists' clause 2020-05-21 15:26:52 -07:00
jeffreyqw 35993468cd PHP: AbstractCall removedecode method
remove method_exists($data, 'encode')) and method_exists($obj, $deserializeFunc)
2020-05-20 20:42:10 -07:00
Stanley Cheung 7123a41cb1 PHP: Fix logic setting roots pem 2020-01-13 22:25:38 -08:00
Hannah Shi c75febf906 del unneed func 2019-11-21 03:52:09 +00:00
Hannah Shi 2537632d8c add invalidateDefaultRootsPem 2019-11-20 16:35:35 +00:00
Hannah Shi 337f0c5b15 indentation 2019-11-08 16:52:13 +00:00
Hannah Shi 35c6369daa init ssl roots only once 2019-11-01 21:10:11 +00:00
tanjunchen 64cdea5a07 fix some spelling mistakes in document 2019-10-04 09:07:35 +08:00
Stanley Cheung c63b8e16a8
Merge pull request #19232 from jtattermusch/php_dots_in_metadata_keys
PHP: Allow dots in metadata keys
2019-06-06 15:24:09 -07:00
Jan Tattermusch e8cb29dd1e allow dots in metadata keys 2019-06-04 11:45:39 -04:00
Jan Tattermusch 15cae38cbd remove port suffix from JWT audience 2019-06-04 11:32:45 -04:00
Brent Shaffer ad371f802d fixes subpackage issue with loading composer 2018-07-19 16:52:46 -07:00
ZhouyihaiDing a7e282eecb PHP: add call invoker 2018-06-26 15:18:26 -07:00
ZhouyihaiDing d6b483b6f0 PHP: add deserialze as the argument for the interceptor 2018-06-20 16:42:55 -07:00
Zhouyihai Ding 10470bb4a0
Merge pull request #15417 from chingor13/php-default-channel
PHP: Surface a static method to fetch the default Channel
2018-05-17 09:26:07 -07:00
Jeff Ching 6d96a9a612 Provide hostname to getDefaultChannel 2018-05-16 17:06:48 -07:00
Jeff Ching 31676f36b1 Surface a static method to fetch the default Channel that a BaseStub would create 2018-05-16 16:45:20 -07:00
ZhouyihaiDing 251a573765 php InterceptorChannel inherits from Channel 2018-05-16 13:38:43 -07:00
ZhouyihaiDing 3c047a2cd5 PHP: fix InterceptorChannel not autoload by composer 2018-05-15 19:08:30 -07:00
ZhouyihaiDing 52b95cf1fb gRPC PHP Client Interceptor implementation and tests
move InterceptorChannel to Internal subdir; change year
2018-05-07 14:06:30 -07:00
Chad Kunde 1ac45e116e
Removed opts checks in BaseStub when the elements aren't not used. 2018-01-30 11:09:19 +08:00
Guilherme Oliveira 83a2cc0c44 php return the right classes 2017-10-09 11:53:27 +02:00
Michael Bausor ff1e926421 Remove assignment 2017-08-16 12:23:01 -07:00
Michael Bausor 8a61db3c37 Remove metadata set 2017-08-16 12:21:16 -07:00
Michael Bausor 81fd629092 Move OP_RECV_INITIAL_METADATA out of start() methods
Moves the OP_RECV_INITIAL_METADATA out of the start() methods for
UnaryCall and ServerStreamingCall, and adds a check so that the
getMetadata methods for those objects will always contain the
metadata.
2017-08-15 10:13:06 -07:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Rajendra Talekar 9b3a6cc3d2 Fixing is_a check for Channel
php ```is_a``` function expects fully qualified class name to validate.
2017-04-10 15:07:02 +05:30
thinkerou 34d21ceadc fix php style 2017-03-26 01:10:21 +08:00
Stanley Cheung 55bff48335 PHP: proto3 API change 2017-03-13 13:09:43 -07:00
Stanley Cheung de78a21579 Merge pull request #9416 from thinkerou/update_method_property_visibility
PHP: Update the visibility property  of method
2017-01-26 19:31:48 -08:00
thinkerou 8772a366ba update method prop visibility 2017-01-20 18:24:20 +08:00
thinkerou 16713db012 fix code style 2017-01-20 14:43:19 +08:00
Stanley Cheung 122c687d61 Fix various PHP bugs 2017-01-11 19:36:32 -08:00
thinkerou 0c3e8dbc68 fix code style 2016-12-15 00:27:03 +08:00
thinkerou 9a669b64a2 update php style 2016-11-01 21:33:06 +08:00
Stanislav Pavlovichev 4407a948b1 phpdoc types 2016-10-28 12:15:53 +07:00
Stanley Cheung 881f4ff672 PHP Proto3: new serialization/deserialization for messages 2016-09-29 17:25:14 -07:00
thinkerou 9392b04517 fix php code style 2016-09-09 17:44:09 +08:00
Stanley Cheung cde12a523a php: use ssl hostname_override as auth audience uri if present 2016-09-06 11:49:41 -07:00