libsshpp v0.1.7
Modern C++17 wrapper for libssh
Loading...
Searching...
No Matches
sshpp::LocalForward::Options Struct Reference

#include <forwarding.hpp>

Collaboration diagram for sshpp::LocalForward::Options:
[legend]

Public Attributes

TcpEndpoint listen {"127.0.0.1", 0}
 
ForwardTarget target
 
std::size_t buffer_size = 64 * 1024
 
std::function< bool(const TcpEndpoint &peer)> accept_filter
 
std::function< void(const ErrorInfo &)> on_error
 

Member Data Documentation

◆ listen

TcpEndpoint sshpp::LocalForward::Options::listen {"127.0.0.1", 0}

◆ target

ForwardTarget sshpp::LocalForward::Options::target

◆ buffer_size

std::size_t sshpp::LocalForward::Options::buffer_size = 64 * 1024

◆ accept_filter

std::function<bool(const TcpEndpoint& peer)> sshpp::LocalForward::Options::accept_filter

◆ on_error

std::function<void(const ErrorInfo&)> sshpp::LocalForward::Options::on_error

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