Gogs bef6e57d0d first commit hai 1 mes
..
security bef6e57d0d first commit hai 1 mes
README.md bef6e57d0d first commit hai 1 mes
async_generic_service.h bef6e57d0d first commit hai 1 mes
async_stream.h bef6e57d0d first commit hai 1 mes
async_unary_call.h bef6e57d0d first commit hai 1 mes
byte_buffer.h bef6e57d0d first commit hai 1 mes
call.h bef6e57d0d first commit hai 1 mes
call_hook.h bef6e57d0d first commit hai 1 mes
call_op_set.h bef6e57d0d first commit hai 1 mes
call_op_set_interface.h bef6e57d0d first commit hai 1 mes
callback_common.h bef6e57d0d first commit hai 1 mes
channel_interface.h bef6e57d0d first commit hai 1 mes
client_callback.h bef6e57d0d first commit hai 1 mes
client_context.h bef6e57d0d first commit hai 1 mes
client_interceptor.h bef6e57d0d first commit hai 1 mes
client_unary_call.h bef6e57d0d first commit hai 1 mes
completion_queue.h bef6e57d0d first commit hai 1 mes
completion_queue_tag.h bef6e57d0d first commit hai 1 mes
config.h bef6e57d0d first commit hai 1 mes
config_protobuf.h bef6e57d0d first commit hai 1 mes
core_codegen.h bef6e57d0d first commit hai 1 mes
core_codegen_interface.h bef6e57d0d first commit hai 1 mes
create_auth_context.h bef6e57d0d first commit hai 1 mes
delegating_channel.h bef6e57d0d first commit hai 1 mes
grpc_library.h bef6e57d0d first commit hai 1 mes
intercepted_channel.h bef6e57d0d first commit hai 1 mes
interceptor.h bef6e57d0d first commit hai 1 mes
interceptor_common.h bef6e57d0d first commit hai 1 mes
message_allocator.h bef6e57d0d first commit hai 1 mes
metadata_map.h bef6e57d0d first commit hai 1 mes
method_handler.h bef6e57d0d first commit hai 1 mes
method_handler_impl.h bef6e57d0d first commit hai 1 mes
proto_buffer_reader.h bef6e57d0d first commit hai 1 mes
proto_buffer_writer.h bef6e57d0d first commit hai 1 mes
proto_utils.h bef6e57d0d first commit hai 1 mes
rpc_method.h bef6e57d0d first commit hai 1 mes
rpc_service_method.h bef6e57d0d first commit hai 1 mes
serialization_traits.h bef6e57d0d first commit hai 1 mes
server_callback.h bef6e57d0d first commit hai 1 mes
server_callback_handlers.h bef6e57d0d first commit hai 1 mes
server_context.h bef6e57d0d first commit hai 1 mes
server_interceptor.h bef6e57d0d first commit hai 1 mes
server_interface.h bef6e57d0d first commit hai 1 mes
service_type.h bef6e57d0d first commit hai 1 mes
slice.h bef6e57d0d first commit hai 1 mes
status.h bef6e57d0d first commit hai 1 mes
status_code_enum.h bef6e57d0d first commit hai 1 mes
string_ref.h bef6e57d0d first commit hai 1 mes
stub_options.h bef6e57d0d first commit hai 1 mes
sync.h bef6e57d0d first commit hai 1 mes
sync_stream.h bef6e57d0d first commit hai 1 mes
time.h bef6e57d0d first commit hai 1 mes

README.md

Welcome to include/grpcpp/impl/codegen

Why is this directory here?

This directory exists so that generated code can include selected files upon which it depends without having to depend on the entire gRPC C++ library. This is particularly relevant for users of bazel, particularly if they use the multi-lingual proto_library target type. Generated code that uses this target only depends on the gRPC C++ targets associated with these header files, not the entire gRPC C++ codebase since that would make the build time of these types of targets excessively large (particularly when they are not even C++ specific).

What should user code do?

User code should not include anything from this directory. Only generated code and gRPC library code should include contents from this directory. User code should instead include contents from the main grpcpp directory or its accessible subcomponents like grpcpp/support. It is possible that we may remove this directory altogether if the motivations for its existence are no longer strong enough (e.g., if most users migrate away from the proto_library target type or if the additional overhead of depending on gRPC C++ is not high).