object Host extends Serializable
- Source
- Forwarded.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Host
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
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.
-
def
fromString(s: String): ParseResult[Host]
Parses host and optional port number from the given string according to RFC3986.
-
def
fromUri(uri: Uri): ParseResult[Host]
Creates Host from Uri.host and Uri.port parts of the given Uri.
- def ofHost(uriHost: Uri.Host): Host
- val parser: Parser0[Host]