boost::redis::basic_connection::basic_connection :: Boost.Redis

# boost::redis::basic_connection::basic_connection

Constructor from an `io_context`.

## Synopsis

Declared in `<boost/redis/connection.hpp>`

    explicit
    basic_connection(
        asio::io_context& ioc,
        asio::ssl::context ctx = asio::ssl::context{asio::ssl::context::tlsv12_client},
        logger lgr = {});

## Parameters

Name | Description
--- | ---
ioc | I/O context used to create all internal I/O objects.
ctx | SSL context.
lgr | Logger configuration. It can be used to filter messages by level and customize logging. By default, `logger::level::info` messages and higher are logged to `stderr`.

Created with MrDocs