#include "call.h"
#include <ext/spl/spl_exceptions.h>
#include <zend_exceptions.h>
#include <grpc/support/alloc.h>
#include "call_credentials.h"
#include "completion_queue.h"
#include "timeval.h"
#include "channel.h"
#include "byte_buffer.h"
Go to the source code of this file.
◆ create_metadata_array()
◆ create_wrapped_grpc_call()
◆ grpc_init_call()
void grpc_init_call |
( |
TSRMLS_D |
| ) |
|
◆ grpc_parse_metadata_array()
◆ grpc_php_metadata_array_destroy_including_entries()
◆ grpc_php_wrap_call()
◆ if()
◆ PHP_METHOD() [1/5]
PHP_METHOD |
( |
Call |
, |
|
|
__construct |
|
|
) |
| |
Constructs a new instance of the Call class.
- Parameters
-
Channel | $channel_obj | The channel to associate the call with. Must not be closed. |
string | $method | The method to call |
Timeval | $deadline_obj | The deadline for completing the call |
string | $host_override | = "" The host is set by user (optional) |
Definition at line 201 of file call.c.
◆ PHP_METHOD() [2/5]
Cancel the call. This will cause the call to end with STATUS_CANCELLED if it has not already ended with another status.
- Returns
- void
Definition at line 559 of file call.c.
◆ PHP_METHOD() [3/5]
PHP_METHOD |
( |
Call |
, |
|
|
getPeer |
|
|
) |
| |
Get the endpoint this call/stream is connected to
- Returns
- string The URI of the endpoint
Definition at line 546 of file call.c.
◆ PHP_METHOD() [4/5]
PHP_METHOD |
( |
Call |
, |
|
|
setCredentials |
|
|
) |
| |
Set the CallCredentials for this call.
- Parameters
-
CallCredentials | $creds_obj | The CallCredentials object |
- Returns
- int The error code
Definition at line 570 of file call.c.
◆ PHP_METHOD() [5/5]
PHP_METHOD |
( |
Call |
, |
|
|
startBatch |
|
|
) |
| |
Start a batch of RPC actions.
- Parameters
-
array | $array | Array of actions to take |
- Returns
- object Object with results of all actions
Definition at line 261 of file call.c.
◆ call_methods
zend_function_entry call_methods[] |
|
static |
Initial value:
Definition at line 613 of file call.c.
◆ grpc_ce_call
zend_class_entry* grpc_ce_call |