cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
Loading...
Searching...
No Matches
tcp_address.h File Reference

Definition of TCPAddress. More...

#include <cstdint>
#include <ostream>
#include <string>
#include <string_view>
#include <asio/ip/tcp.hpp>
#include <fmt/base.h>
#include "msgpack_rpc/addresses/i_address.h"
#include "msgpack_rpc/addresses/uri.h"
#include "msgpack_rpc/impl/msgpack_rpc_export.h"
Include dependency graph for tcp_address.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fmt::formatter< msgpack_rpc::addresses::TCPAddress >
 Specialization of fmt::formatter for msgpack_rpc::addresses::TCPAddress. More...
class  msgpack_rpc::addresses::TCPAddress
 Class of addresses of TCP. More...

Namespaces

namespace  fmt
 Namespace of fmt library.
namespace  msgpack_rpc
 Namespace of cpp-msgpack-rpc library.
namespace  msgpack_rpc::addresses
 Namespace of addresses.

Typedefs

using msgpack_rpc::addresses::AsioTCPAddress = asio::ip::tcp::endpoint
 Type of addresses of TCP in asio library.

Functions

std::ostream & operator<< (std::ostream &stream, const msgpack_rpc::addresses::TCPAddress &address)
 Format an address.

Detailed Description

Definition of TCPAddress.

Definition in file tcp_address.h.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & stream,
const msgpack_rpc::addresses::TCPAddress & address )

Format an address.

Parameters
[in]streamStream.
[in]addressAddress.
Returns
Stream after formatting.

Definition at line 77 of file tcp_address.cpp.