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 #
Information about the socket address.
See: newSocketAddress
smart constructor.
Instances
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:name:SocketAddress'
, socketAddress_name
- Name of a socket address.
$sel:port:SocketAddress'
, socketAddress_port
- Port of a socket address.
socketAddress_name :: Lens' SocketAddress Text Source #
Name of a socket address.
socketAddress_port :: Lens' SocketAddress Int Source #
Port of a socket address.