rodeo v0.3.0 Rodeo

Summary

Functions

Creates a URL from the protocol scheme, the ip address and the TCP port extracted from rodeo, a %Rodeo struct

Functions

base_url(rodeo)
base_url(struct) :: String.t

Creates a URL from the protocol scheme, the ip address and the TCP port extracted from rodeo, a %Rodeo struct.

Examples

iex>Rodeo.base_url(%Rodeo{port: 8080, ip_address: "127.0.0.1", scheme: "http" })
"http://127.0.0.1:8080"