Packages

object Host extends Serializable

Source
Forwarded.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Host
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def fromHostAndPort(uriHost: Uri.Host, port: Int): ParseResult[Host]

    Creates Host from Uri.Host and port number.

    Creates Host from Uri.Host and port number. Validates the latter and returns ParseFailure if it is invalid.

  2. def fromString(s: String): ParseResult[Host]

    Parses host and optional port number from the given string according to RFC3986.

  3. def fromUri(uri: Uri): ParseResult[Host]

    Creates Host from Uri.host and Uri.port parts of the given Uri.

  4. def ofHost(uriHost: Uri.Host): Host

    Creates Host from Uri.Host.

    Creates Host from Uri.Host. Assumes that the latter is always valid so no further validation is necessary.

  5. val parser: Parser0[Host]