libp2p
Preparing search index...
@libp2p/interface
StreamHandler
Interface StreamHandler
StreamHandler
(
stream
:
Stream
,
connection
:
Connection
)
:
void
|
Promise
<
void
>
A callback function that accepts the incoming stream data
Parameters
stream
:
Stream
connection
:
Connection
Returns
void
|
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
libp2p
Loading...
A callback function that accepts the incoming stream data