Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | List of all members
seastar::http::experimental::connection_factory Class Referenceabstract

Detailed Description

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>

Inheritance diagram for seastar::http::experimental::connection_factory:
seastar::http::experimental::basic_connection_factory seastar::http::experimental::tls_connection_factory

Public Member Functions

virtual future< connected_socketmake (abort_source *)=0
 Make a connected_socket. More...
 

Member Function Documentation

◆ make()

virtual future< connected_socket > seastar::http::experimental::connection_factory::make ( abort_source )
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.


The documentation for this class was generated from the following file: