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