Class UpstreamConnectOptions
Carries the requested authority and the optional socket configuration callback down to the connection implementation.
public sealed class UpstreamConnectOptions
- Inheritance
-
UpstreamConnectOptions
- Inherited Members
Constructors
UpstreamConnectOptions(string, int, ConfigureUpstreamSocket?)
public UpstreamConnectOptions(string requestedHost, int requestedPort, ConfigureUpstreamSocket? configure)
Parameters
requestedHoststringrequestedPortintconfigureConfigureUpstreamSocket
Fields
None
public static readonly UpstreamConnectOptions None
Field Value
Properties
Configure
public ConfigureUpstreamSocket? Configure { get; }
Property Value
RequestedHost
public string RequestedHost { get; }
Property Value
RequestedPort
public int RequestedPort { get; }
Property Value
Methods
Apply(Socket, IPEndPoint)
public void Apply(Socket socket, IPEndPoint remoteEndPoint)
Parameters
socketSocketremoteEndPointIPEndPoint