Functions
ChannelArgsUtil.h File Reference
#import <Foundation/Foundation.h>
#include <grpc/impl/codegen/grpc_types.h>
Include dependency graph for ChannelArgsUtil.h:

Go to the source code of this file.

Functions

grpc_channel_argsGRPCBuildChannelArgs (NSDictionary *dictionary)
 
void GRPCFreeChannelArgs (grpc_channel_args *channel_args)
 

Function Documentation

◆ GRPCBuildChannelArgs()

grpc_channel_args* GRPCBuildChannelArgs ( NSDictionary *  dictionary)

Allocates a grpc_channel_args and populates it with the options specified in the dictionary. Keys must be NSString, NSNumber, or a pointer. If the value responds to selector(UTF8String) then it will be mapped to GRPC_ARG_STRING. If the value responds to selector(intValue), it will be mapped to GRPC_ARG_INTEGER. Otherwise, if the value is not nil, it is mapped as a pointer. The caller of this function is responsible for calling GRPCFreeChannelArgs to free the grpc_channel_args struct.

◆ GRPCFreeChannelArgs()

void GRPCFreeChannelArgs ( grpc_channel_args channel_args)

Free resources in the grpc core struct grpc_channel_args



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:06