userver: userver/ugrpc/tests/standalone_client.hpp File Reference
Loading...
Searching...
No Matches
standalone_client.hpp File Reference

Detailed Description

Sets up a mini gRPC client that is not directly associated with any userver gRPC server.

Definition in file standalone_client.hpp.

Go to the source code of this file.

#include <string>
#include <userver/dynamic_config/test_helpers.hpp>
#include <userver/engine/io/sockaddr.hpp>
#include <userver/utils/statistics/storage.hpp>
#include <userver/testsuite/grpc_control.hpp>
#include <userver/ugrpc/client/client_factory.hpp>
#include <userver/ugrpc/client/impl/completion_queue_pool.hpp>
#include <userver/ugrpc/impl/statistics_storage.hpp>

Classes

class  ugrpc::tests::StandaloneClientFactory
 Sets up a mini gRPC client that is not directly associated with any userver gRPC server. More...
 

Namespaces

namespace  ugrpc
 Asynchronous gRPC driver.
 
namespace  ugrpc::tests
 userver gRPC testing facilities
 

Functions

std::uint16_t ugrpc::tests::GetFreeIpv6Port ()
 
std::string ugrpc::tests::MakeIpv6Endpoint (std::uint16_t port)
 Make an IPv6 localhost gRPC endpoint from port.