IpAddress

com.comcast.ip4s.IpAddress
See theIpAddress companion class
object IpAddress

Attributes

Companion
class
Source
Host.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
IpAddress.type

Members list

Value members

Concrete methods

Constructs an IP address from either a 4-element byte array or a 16-element byte array.

Constructs an IP address from either a 4-element byte array or a 16-element byte array. Any other size array results in a None.

Attributes

Source
Host.scala

Parses an IP address from a string, either in dotted decimal notation or in RFC4291 notation.

Parses an IP address from a string, either in dotted decimal notation or in RFC4291 notation.

Attributes

Source
Host.scala
def loopback[F[_]](implicit F: Dns[F]): F[IpAddress]

Gets an IP address repesenting the loopback interface.

Gets an IP address repesenting the loopback interface.

Attributes

Source
Host.scala

Inherited methods

Converts the supplied InetAddress to an IpAddress.

Converts the supplied InetAddress to an IpAddress.

Attributes

Inherited from:
IpAddressCompanionPlatform (hidden)
Source
IpAddressPlatform.scala

Implicits

Implicits

implicit def order[A <: IpAddress]: Order[A]

Attributes

Source
Host.scala
implicit def ordering[A <: IpAddress]: Ordering[A]

Attributes

Source
Host.scala