Function grpcio_sys::grpc_server_add_insecure_channel_from_fd[][src]

pub unsafe extern "C" fn grpc_server_add_insecure_channel_from_fd(
    server: *mut grpc_server,
    reserved: *mut c_void,
    fd: c_int
)

Add the connected communication channel based on file descriptor ‘fd’ to the ‘server’. The ‘fd’ must be an open file descriptor corresponding to a connected socket. Events from the file descriptor may come on any of the server completion queues (i.e completion queues registered via the grpc_server_register_completion_queue API).

The ‘reserved’ pointer MUST be NULL.