Host

object Host
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

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

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

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

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

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

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

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

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

def ofHost(uriHost: Host): Host

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

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

Concrete fields

val parser: Parser0[Host]