Options for HttpSessionAccept
.
More...
#include <HttpSessionAccept.h>
Inherited by HttpSessionAccept [private]
.
Public Member Functions | |
HttpSessionAcceptOptions () | |
self & | setTransportType (int) |
Set the transport type. | |
self & | setOutboundIp (IpAddr &ip) |
Set the outbound IP address to ip. | |
self & | setOutboundIp (IpEndpoint *ip) |
Set the outbound IP address to ip. | |
self & | setOutboundPort (uint16_t) |
Set outbound port. | |
self & | setOutboundTransparent (bool) |
Set outbound transparency. | |
self & | setTransparentPassthrough (bool) |
Set transparent passthrough. | |
self & | setBackdoor (bool) |
Set backdoor accept. | |
self & | setHostResPreference (HostResPreferenceOrder const) |
Set the host query preference. | |
self & | setSessionProtocolPreference (SessionProtocolSet const &) |
Set the session protocol preference. | |
Data Fields | |
int | transport_type |
IpAddr | outbound_ip4 |
Local address to bind for outbound connections. | |
IpAddr | outbound_ip6 |
Local address to bind for outbound connections. | |
uint16_t | outbound_port |
Local port for outbound connection. | |
bool | f_outbound_transparent |
Outbound transparent. | |
bool | f_transparent_passthrough |
Transparent pass-through. | |
bool | backdoor |
Accepting backdoor connections. | |
HostResPreferenceOrder | host_res_preference |
Host address resolution preference order. | |
SessionProtocolSet | session_protocol_preference |
Acceptable session protocols. |
Options for HttpSessionAccept
.
Definition at line 52 of file HttpSessionAccept.h.
detail::HttpSessionAcceptOptions::HttpSessionAcceptOptions | ( | ) | [inline] |
Definition at line 96 of file HttpSessionAccept.h.
References host_res_default_preference_order, host_res_preference, and memcpy.
HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setBackdoor | ( | bool | flag | ) | [inline] |
HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setHostResPreference | ( | HostResPreferenceOrder const | order | ) | [inline] |
Set the host query preference.
Definition at line 151 of file HttpSessionAccept.h.
References host_res_preference, and memcpy.
Referenced by MakeHttpProxyAcceptor().
HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setOutboundIp | ( | IpAddr & | ip | ) | [inline] |
Set the outbound IP address to ip.
Definition at line 113 of file HttpSessionAccept.h.
References IpAddr::isIp4(), IpAddr::isIp6(), outbound_ip4, and outbound_ip6.
HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setOutboundIp | ( | IpEndpoint * | ip | ) | [inline] |
Set the outbound IP address to ip.
Definition at line 120 of file HttpSessionAccept.h.
References IpEndpoint::isIp4(), IpEndpoint::isIp6(), outbound_ip4, and outbound_ip6.
HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setOutboundPort | ( | uint16_t | port | ) | [inline] |
HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setOutboundTransparent | ( | bool | flag | ) | [inline] |
Set outbound transparency.
Definition at line 133 of file HttpSessionAccept.h.
References f_outbound_transparent.
Referenced by init_HttpProxyServer().
HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setSessionProtocolPreference | ( | SessionProtocolSet const & | sp_set | ) | [inline] |
Set the session protocol preference.
Definition at line 157 of file HttpSessionAccept.h.
References session_protocol_preference.
Referenced by MakeHttpProxyAcceptor().
HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setTransparentPassthrough | ( | bool | flag | ) | [inline] |
Set transparent passthrough.
Definition at line 139 of file HttpSessionAccept.h.
References f_transparent_passthrough.
Referenced by MakeHttpProxyAcceptor().
HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setTransportType | ( | int | type | ) | [inline] |
Set the transport type.
Definition at line 107 of file HttpSessionAccept.h.
References transport_type.
Accepting backdoor connections.
Definition at line 83 of file HttpSessionAccept.h.
Referenced by HttpSessionAccept::accept(), setBackdoor(), and start_HttpProxyServerBackDoor().
Outbound transparent.
Definition at line 75 of file HttpSessionAccept.h.
Referenced by HttpSessionAccept::accept(), MakeHttpProxyAcceptor(), and setOutboundTransparent().
Transparent pass-through.
Definition at line 79 of file HttpSessionAccept.h.
Referenced by HttpSessionAccept::accept(), and setTransparentPassthrough().
Host address resolution preference order.
Definition at line 87 of file HttpSessionAccept.h.
Referenced by HttpSessionAccept::accept(), HttpSessionAcceptOptions(), and setHostResPreference().
Local address to bind for outbound connections.
Definition at line 63 of file HttpSessionAccept.h.
Referenced by HttpSessionAccept::accept(), MakeHttpProxyAcceptor(), and setOutboundIp().
Local address to bind for outbound connections.
Definition at line 65 of file HttpSessionAccept.h.
Referenced by HttpSessionAccept::accept(), MakeHttpProxyAcceptor(), and setOutboundIp().
Local port for outbound connection.
Definition at line 71 of file HttpSessionAccept.h.
Referenced by HttpSessionAccept::accept(), and setOutboundPort().
Acceptable session protocols.
Definition at line 91 of file HttpSessionAccept.h.
Referenced by setSessionProtocolPreference().
Definition at line 59 of file HttpSessionAccept.h.
Referenced by HttpSessionAccept::accept(), Http2SessionAccept::accept(), SocksProxy::mainEvent(), MakeHttpProxyAcceptor(), and setTransportType().