Search
Preparing search index...
The search index is not available
multistream-select - v3.0.2
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
multistream-select - v3.0.2
Dialer
Class Dialer
Hierarchy
MultistreamSelect
Dialer
Index
Constructors
constructor
Properties
_shaken
_stream
Methods
_handshake
ls
select
Constructors
constructor
new
Dialer
(
stream
:
DuplexStream
<
Uint8Array
|
BufferList
>
)
:
Dialer
Parameters
stream:
DuplexStream
<
Uint8Array
|
BufferList
>
Returns
Dialer
Properties
_shaken
_shaken
:
boolean
_stream
_stream
:
DuplexStream
<
Uint8Array
|
BufferList
>
Methods
_handshake
_handshake
(
options
:
undefined
|
AbortOptions
)
:
Promise
<
void
>
Perform the multistream-select handshake
Parameters
options:
undefined
|
AbortOptions
Returns
Promise
<
void
>
ls
ls
(
options
:
undefined
|
AbortOptions
)
:
Promise
<
string
[]
>
Parameters
options:
undefined
|
AbortOptions
Returns
Promise
<
string
[]
>
select
select
(
protocols
:
string
|
string
[]
, options
:
undefined
|
AbortOptions
)
:
Promise
<
{
protocol
:
string
;
stream
:
any
}
>
Parameters
protocols:
string
|
string
[]
options:
undefined
|
AbortOptions
Returns
Promise
<
{
protocol
:
string
;
stream
:
any
}
>
Exports
Dialer
constructor
_shaken
_stream
_handshake
ls
select
Listener
Abort
Options
Buffer
List
Duplex
Stream
PROTOCOL_
ID