Function grpcio_sys::grpc_channel_create_call
source · pub unsafe extern "C" fn grpc_channel_create_call(
channel: *mut grpc_channel,
parent_call: *mut grpc_call,
propagation_mask: u32,
completion_queue: *mut grpc_completion_queue,
method: grpc_slice,
host: *const grpc_slice,
deadline: gpr_timespec,
reserved: *mut c_void
) -> *mut grpc_call
Expand description
Create a call given a grpc_channel, in order to call ‘method’. All completions are sent to ‘completion_queue’. ‘method’ and ‘host’ need only live through the invocation of this function. If parent_call is non-NULL, it must be a server-side call. It will be used to propagate properties from the server call to this new client call, depending on the value of \a propagation_mask (see propagation_bits.h for possible values).