Function grpcio_sys::grpc_server_add_http2_port
source · pub unsafe extern "C" fn grpc_server_add_http2_port(
server: *mut grpc_server,
addr: *const c_char,
creds: *mut grpc_server_credentials
) -> c_int
Expand description
Add a HTTP2 over an encrypted link over tcp listener. Returns bound port number on success, 0 on failure. REQUIRES: server not started