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

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