server: Create a spare server object

Description Usage Arguments Value

Description

Create a spare server object

Usage

1
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


spareserver documentation built on May 2, 2019, 8:27 a.m.