Function grpcio_sys::grpc_server_create
source · pub unsafe extern "C" fn grpc_server_create(
args: *const grpc_channel_args,
reserved: *mut c_void
) -> *mut grpc_server
Expand description
Create a server. Additional configuration for each incoming channel can be specified with args. If no additional configuration is needed, args can be NULL. The user data in ‘args’ need only live through the invocation of this function. However, if any args of the ‘pointer’ type are passed, then the referenced vtable must be maintained by the caller until grpc_server_destroy terminates. See grpc_channel_args definition for more on this.