Variable HTTPClientSettings.networkInterface
Forces a specific network interface to use for outgoing connections.
class HTTPClientSettings
{
// ...
NetworkAddress networkInterface
= NetworkAddress(sockaddr(cast(short)0, [cast(ubyte)0u, cast(ubyte)0u, cast(ubyte)0u, cast(ubyte)0u, cast(ubyte)0u, cast(ubyte)0u, cast(ubyte)0u, cast(ubyte)0u, cast(ubyte)0u, cast(ubyte)0u, cast(ubyte)0u, cast(ubyte)0u, cast(ubyte)0u, cast(ubyte)0u]), , );
// ...
}