diff options
author | Stanley Cheung <stanleycheung@google.com> | 2015-08-31 12:17:34 -0700 |
---|---|---|
committer | Stanley Cheung <stanleycheung@google.com> | 2015-08-31 15:14:28 -0700 |
commit | 56debcb6d18762e41a21b7404c2a35a04219a026 (patch) | |
tree | 222b11e14075292577c5816f66b6652c53062c40 /examples/php | |
parent | d87e203622bb65c5d21e2e4fd6bc601f272f4a07 (diff) |
fix more examples links
Diffstat (limited to 'examples/php')
-rw-r--r-- | examples/php/route_guide/README.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/php/route_guide/README.md b/examples/php/route_guide/README.md index e5230ae4e4..258158d5d1 100644 --- a/examples/php/route_guide/README.md +++ b/examples/php/route_guide/README.md @@ -8,7 +8,7 @@ This tutorial provides a basic PHP programmer's introduction to working with gRP It assumes a passing familiarity with [protocol buffers](https://developers.google.com/protocol-buffers/docs/overview). Note that the example in this tutorial uses the proto2 version of the protocol buffers language. -Also note that currently you can only create clients in PHP for gRPC services - you can find out how to create gRPC servers in our other tutorials, e.g. [Node.js](examples/node/route_guide). +Also note that currently you can only create clients in PHP for gRPC services - you can find out how to create gRPC servers in our other tutorials, e.g. [Node.js](../node/route_guide). This isn't a comprehensive guide to using gRPC in PHP: more reference documentation is coming soon. @@ -29,7 +29,7 @@ With gRPC you can define your service once in a .proto file and implement client <a name="setup"></a> ## Example code and setup -The example code for our tutorial is in [examples/php/route_guide](examples/php/route_guide). To download the example, clone this repository by running the following command: +The example code for our tutorial is in [examples/php/route_guide](.). To download the example, clone this repository by running the following command: ```shell $ git clone https://github.com/grpc/grpc.git ``` @@ -68,7 +68,7 @@ The next sections guide you step-by-step through how this proto service is defin <a name="proto"></a> ## Defining the service -First let's look at how the service we're using is defined. A gRPC *service* and its method *request* and *response* types using [protocol buffers](https://developers.google.com/protocol-buffers/docs/overview). You can see the complete .proto file for our example in [`examples/protos/route_guide.proto`](examples/protos/route_guide.proto). +First let's look at how the service we're using is defined. A gRPC *service* and its method *request* and *response* types using [protocol buffers](https://developers.google.com/protocol-buffers/docs/overview). You can see the complete .proto file for our example in [`route_guide.proto`](route_guide.proto). To define a service, you specify a named `service` in your .proto file: @@ -159,7 +159,7 @@ The file contains: <a name="client"></a> ## Creating the client -In this section, we'll look at creating a PHP client for our `RouteGuide` service. You can see our complete example client code in [examples/php/route_guide/route_guide_client.php](examples/php/route_guide/route_guide_client.php). +In this section, we'll look at creating a PHP client for our `RouteGuide` service. You can see our complete example client code in [route_guide_client.php](route_guide_client.php). ### Constructing a client object |