spareserver (version 1.0.1)

server: Create a spare server object

Description

Create a spare server object

Usage

server(base_url, priority = 1, timeout = 1)

Arguments

base_url
Base URL of the server.
priority
Non-negative initial odds of using this server, it has no units. Note that a server with zero odds can be used if all other servers are down.
timeout
Timeout in seconds. After this time, we give up on the server.

Value

A spare server object