BaseUrl

final case class BaseUrl(value: String) extends PathLike[BaseUrl]

The prefix of all routes on a page.

The router expects this to be a full URL. Examples: BaseUrl("http://www.blah.com/hello"), BaseUrl.fromWindowOrigin / "hello".

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def abs: AbsUrl
def apply(p: Path): AbsUrl

Inherited methods

final def +(p: BaseUrl): BaseUrl
Inherited from:
PathLike
final def +(p: String): BaseUrl
Inherited from:
PathLike
final def /(p: BaseUrl): BaseUrl
Inherited from:
PathLike
final def /(p: String): BaseUrl
Inherited from:
PathLike
final def endWith_/: BaseUrl
Inherited from:
PathLike
final def isEmpty: Boolean
Inherited from:
PathLike
final def map(f: String => String): BaseUrl
Inherited from:
PathLike
final def nonEmpty: Boolean
Inherited from:
PathLike
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
final def rtrim_/: BaseUrl
Inherited from:
PathLike