Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
server.h File Reference

gRPC server configuration and service hosting. More...

#include "kcenon/network/detail/protocols/grpc/frame.h"
#include "kcenon/network/detail/protocols/grpc/status.h"
#include "kcenon/network/detail/utils/result_types.h"
#include <chrono>
#include <functional>
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
Include dependency graph for server.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::network::protocols::grpc::grpc_server_config
 Configuration for gRPC server. More...
 
class  kcenon::network::protocols::grpc::server_context
 Context for handling a single RPC request. More...
 
class  kcenon::network::protocols::grpc::server_writer
 Writer interface for server streaming. More...
 
class  kcenon::network::protocols::grpc::server_reader
 Reader interface for client streaming. More...
 
class  kcenon::network::protocols::grpc::server_reader_writer
 Reader/writer interface for bidirectional streaming. More...
 
class  kcenon::network::protocols::grpc::grpc_service
 Base class for gRPC service implementations. More...
 
class  kcenon::network::protocols::grpc::grpc_server
 gRPC server for handling RPC requests More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::network
 Main namespace for all Network System components.
 
namespace  kcenon::network::protocols
 
namespace  kcenon::network::protocols::grpc
 gRPC protocol implementation
 

Typedefs

using kcenon::network::protocols::grpc::unary_handler
 Handler function type for unary RPC.
 
using kcenon::network::protocols::grpc::server_streaming_handler
 Handler function type for server streaming RPC.
 
using kcenon::network::protocols::grpc::client_streaming_handler
 Handler function type for client streaming RPC.
 
using kcenon::network::protocols::grpc::bidi_streaming_handler
 Handler function type for bidirectional streaming RPC.
 

Detailed Description

gRPC server configuration and service hosting.

gRPC server interface for handling incoming RPCs

See also
detail/protocols/grpc/client.h

Defines the grpc_server class for accepting and processing gRPC calls, with service registration and request routing over HTTP/2.

Definition in file server.h.