SocketAddress

object SocketAddress extends SocketAddressCompanionPlatform
Companion
class
trait Product
trait Mirror
trait SocketAddressCompanionPlatform
class Object
trait Matchable
class Any

Type members

Inherited classlikes

class ResolveOps(self: SocketAddress[Host])
Inhertied from
SocketAddressCompanionPlatform

Inherited types

type MirroredLabel <: String
The name of the type
Inhertied from
Mirror
type MirroredElemLabels <: Tuple
The names of the product elements
Inhertied from
Mirror

Value members

Methods

def fromString(value: String): Option[SocketAddress[Host]]
def fromStringIp(value: String): Option[SocketAddress[IpAddress]]
def fromString4(value: String): Option[SocketAddress[Ipv4Address]]
def fromString6(value: String): Option[SocketAddress[Ipv6Address]]
def fromStringHostname(value: String): Option[SocketAddress[Hostname]]
def fromStringIDN(value: String): Option[SocketAddress[IDN]]

Inherited methods

def fromInetSocketAddress(address: InetSocketAddress): SocketAddress[IpAddress]
Converts an InetSocketAddress to a SocketAddress[IpAddress].
Inhertied from
SocketAddressCompanionPlatform

Implicits

Implicits

implicit def order[A <: Host]: Order[SocketAddress[A]]
implicit def ordering[A <: Host]: Ordering[SocketAddress[A]]
implicit def show[A <: Host]: Show[SocketAddress[A]]