default_url: Get or set default host, port, and protocols

Description Usage Arguments Details Value

Description

Get or set default host, port, and protocols

Usage

1
2
3
4
5
default_host(host, allow0 = TRUE)

default_port(port)

default_protocol(protocol = c("", "http", "https"))

Arguments

host

'IPv4' address

allow0

internally used

port

an integer of port to expose, ranging from 1 to 65535

protocol

either 'http' or 'https'

Details

By default, servers will run on local host ('127.0.0.1') at port '7033' with protocol 'http'. The tasks will be sent to this address too.

Value

The current default options


dipterix/restbatch documentation built on Oct. 13, 2021, 8:58 a.m.