o
ExternalUrl
object ExternalUrlConstructors for ExternalUrl.
Defined by scalive.ExternalUrl. View source (scalive/api/src/scalive/ExternalUrl.scala:28-56)
Methods2
from
def from(url: zio.http.URL): Either[IllegalArgumentException, ExternalUrl]Checks that url is an external URL.
Parameters
urlan absolute
httporhttpsURL with a host, without control characters
Returns
- Returns
the URL, or why it is not an external URL
Defined by scalive.ExternalUrl.from. View source (scalive/api/src/scalive/ExternalUrl.scala:50-56)
parse
def parse(text: String): Either[IllegalArgumentException, ExternalUrl]Parses an external URL.
Parameters
textan absolute
httporhttpsURL with a host, without control characters
Returns
- Returns
the URL, or why it is not an external URL
Defined by scalive.ExternalUrl.parse. View source (scalive/api/src/scalive/ExternalUrl.scala:36-41)