Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data SocketAddress Source #
An IP address/port combination.
See: newSocketAddress
smart constructor.
Instances
newSocketAddress :: SocketAddress Source #
Create a value of SocketAddress
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ipAddress:SocketAddress'
, socketAddress_ipAddress
- The IP address for the socket address.
$sel:port:SocketAddress'
, socketAddress_port
- The port for the socket address.
socketAddress_ipAddress :: Lens' SocketAddress (Maybe Text) Source #
The IP address for the socket address.
socketAddress_port :: Lens' SocketAddress (Maybe Natural) Source #
The port for the socket address.