class IncomingConnection extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- IncomingConnection
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
flow: Flow[ByteString, ByteString, NotUsed]
A flow representing the client on the other side of the connection.
A flow representing the client on the other side of the connection. This flow can be materialized only once.
-
def
handleWith[Mat](handler: Flow[ByteString, ByteString, Mat], materializer: Materializer): Mat
Handles the connection using the given flow, which is materialized exactly once and the respective materialized value is returned.
Handles the connection using the given flow, which is materialized exactly once and the respective materialized value is returned.
Convenience shortcut for:
flow.join(handler).run()
. -
def
localAddress: InetSocketAddress
The local address this connection is bound to.
-
def
remoteAddress: InetSocketAddress
The remote address this connection is bound to.