Seastar
High performance C++ framework for concurrent servers
|
Factory that provides transport for client.
This customization point allows callers provide its own transport for client. The client code calls factory when it needs more connections to the server.
#include <seastar/http/connection_factory.hh>
Public Member Functions | |
virtual future< connected_socket > | make (abort_source *)=0 |
Make a connected_socket. More... | |
|
pure virtual |
Make a connected_socket.
The implementations of this method should return ready-to-use socket that will be used by client as transport for its http connections
Implemented in seastar::http::experimental::basic_connection_factory, and seastar::http::experimental::tls_connection_factory.