GRPC Core  9.0.0
Functions
chttp2_server.h File Reference
#include <grpc/support/port_platform.h>
#include <grpc/impl/codegen/grpc_types.h>
#include "src/core/lib/iomgr/error.h"

Go to the source code of this file.

Functions

grpc_errorgrpc_chttp2_server_add_port (grpc_server *server, const char *addr, grpc_channel_args *args, int *port_num)
 Adds a port to server. More...
 

Function Documentation

◆ grpc_chttp2_server_add_port()

grpc_error* grpc_chttp2_server_add_port ( grpc_server server,
const char *  addr,
grpc_channel_args args,
int *  port_num 
)

Adds a port to server.

Sets port_num to the port number. Takes ownership of args.