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

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