• Home
  • Raw
  • Download

Lines Matching refs:Grpc

23         $credentials = Grpc\ChannelCredentials::createSsl(
25 $server_credentials = Grpc\ServerCredentials::createSsl(
29 $this->server = new Grpc\Server();
34 $this->channel = new Grpc\Channel(
53 $deadline = Grpc\Timeval::infFuture();
55 $call = new Grpc\Call($this->channel,
61 Grpc\OP_SEND_INITIAL_METADATA => [],
62 Grpc\OP_SEND_CLOSE_FROM_CLIENT => true,
73 Grpc\OP_SEND_INITIAL_METADATA => [],
74 Grpc\OP_SEND_STATUS_FROM_SERVER => [
76 'code' => Grpc\STATUS_OK,
79 Grpc\OP_RECV_CLOSE_ON_SERVER => true,
87 Grpc\OP_RECV_INITIAL_METADATA => true,
88 Grpc\OP_RECV_STATUS_ON_CLIENT => true,
94 $this->assertSame(Grpc\STATUS_OK, $status->code);
103 $deadline = Grpc\Timeval::infFuture();
106 $call = new Grpc\Call($this->channel,
112 Grpc\OP_SEND_INITIAL_METADATA => [],
113 Grpc\OP_SEND_MESSAGE => ['message' => $req_text,
114 'flags' => Grpc\WRITE_NO_COMPRESS, ],
115 Grpc\OP_SEND_CLOSE_FROM_CLIENT => true,
126 Grpc\OP_SEND_INITIAL_METADATA => [],
127 Grpc\OP_SEND_STATUS_FROM_SERVER => [
129 'code' => Grpc\STATUS_OK,
135 Grpc\OP_RECV_INITIAL_METADATA => true,
136 Grpc\OP_RECV_STATUS_ON_CLIENT => true,
142 $this->assertSame(Grpc\STATUS_OK, $status->code);
151 $deadline = Grpc\Timeval::infFuture();
156 $call = new Grpc\Call($this->channel,
162 Grpc\OP_SEND_INITIAL_METADATA => [],
163 Grpc\OP_SEND_CLOSE_FROM_CLIENT => true,
164 Grpc\OP_SEND_MESSAGE => ['message' => $req_text],
176 Grpc\OP_SEND_INITIAL_METADATA => [],
177 Grpc\OP_SEND_MESSAGE => ['message' => $reply_text],
178 Grpc\OP_SEND_STATUS_FROM_SERVER => [
180 'code' => Grpc\STATUS_OK,
183 Grpc\OP_RECV_MESSAGE => true,
184 Grpc\OP_RECV_CLOSE_ON_SERVER => true,
194 Grpc\OP_RECV_INITIAL_METADATA => true,
195 Grpc\OP_RECV_MESSAGE => true,
196 Grpc\OP_RECV_STATUS_ON_CLIENT => true,
203 $this->assertSame(Grpc\STATUS_OK, $status->code);