SocketAddress

com.comcast.ip4s.SocketAddress
See theSocketAddress companion object
final case class SocketAddress[+A <: Host](host: A, port: Port)

An IP address of the specified type and a port number. Used to describe the source or destination of a socket.

Attributes

Companion
object
Source
SocketAddress.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

final def resolve[F[_] : Applicative]: F[SocketAddress[IpAddress]]

Resolves this SocketAddress[Hostname] to a SocketAddress[IpAddress].

Resolves this SocketAddress[Hostname] to a SocketAddress[IpAddress].

Attributes

Source
SocketAddress.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
SocketAddress.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
SocketAddressPlatform (hidden)
Source
SocketAddressPlatform.scala