FastMM documentation
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
connection_slot.hpp File Reference

ConnectionSlot<Handler>: owns either a plain-TCP or a TLS net::Connection depending on the URL scheme (ws:// for the local simulator, wss:// for the testnets) and forwards the control operations. More...

#include "fastmm/net/connection.hpp"
#include <memory>
#include <string_view>
#include <utility>

Go to the source code of this file.

Classes

class  fastmm::venues::ConnectionSlot< Handler >
 

Namespaces

namespace  fastmm
 
namespace  fastmm::venues
 

Detailed Description

ConnectionSlot<Handler>: owns either a plain-TCP or a TLS net::Connection depending on the URL scheme (ws:// for the local simulator, wss:// for the testnets) and forwards the control operations.

The stream type is a template parameter of net::Connection, so this is the one place a runtime scheme choice is made; the handler callbacks stay statically dispatched.