prepare.server.URL: Server URL preparation.

Description Usage Arguments Value See Also Examples

View source: R/utilities.R

Description

Prepares the server URL by checking for the presence of a protocol prefix, and prefixing http:// if there is none. Also, returns the URL with a trailing / if that was not present either.

Usage

1

Arguments

server

A server name.

Value

A clean URL with protocol prefix and trailing slash.

See Also

Other development: API.request, checkAuthentication, create.API.request.URL, server.version

Examples

1
2
prepare.server.URL("db.phonologist.org")
prepare.server.URL("https://myserver.com/")

Rexperigen documentation built on May 1, 2019, 10:09 p.m.