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

Implementation of TCPAddress. More...

#include "msgpack_rpc/addresses/tcp_address.h"
#include <optional>
#include <utility>
#include <asio/ip/address.hpp>
#include <asio/ip/basic_endpoint.hpp>
#include <fmt/format.h>
#include <fmt/ostream.h>
#include "msgpack_rpc/addresses/schemes.h"
#include "msgpack_rpc/addresses/uri.h"
Include dependency graph for tcp_address.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Functions

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

Detailed Description

Implementation of TCPAddress.

Definition in file tcp_address.cpp.

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.