localhost
The host on that Membrane is running can have more then one ip address. Using the localhost element you can specify which ip address Membrane should use for outgoing connections.
Can be used in
proxy, serviceProxy, soapProxy
Syntax
<localhost >[string]</localhost >
Listing 1: localhost Syntax
Sample
The sample creates a serviceProxy that will use the ip address 102.168.2.130 for every outgoing connection to www.predic8.de
<serviceProxy port="80"> <localhost >192.168.2.130</localhost> <target host="www.predic8.de" /> </serviceProxy>
Listing 2: localhost Example
Content
Ip used to send requests to the server.