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

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).