method
new2

v2_2_9 -
Show latest stable
-
0 notes -
Class: Client
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (38)
- 2_2_9 (0)
- 2_4_6
- 2_5_5
- 2_6_3
- What's this?
new2(uri, proxy=nil, timeout=nil)
public
Creates an object which represents the remote XML-RPC server at the given uri. The URI should have a host, port, path, user and password. Example: user:password@host:port/path
Raises an ArgumentError if the uri is invalid, or if the protocol isn’t http or https.
If a proxy is given it should be in the form of “host:port”.
The optional timeout defaults to 30 seconds.