@libp2p/http
Preparing search index...
@libp2p/http-websocket
WebSocketInit
Interface WebSocketInit
interface
WebSocketInit
{
headers
:
Headers
;
protocols
?:
string
[]
;
signal
?:
AbortSignal
;
onHandshakeResponse
(
res
:
Response
)
:
Promise
<
void
>
;
}
Hierarchy
AbortOptions
WebSocketInit
Index
Properties
headers
protocols?
signal?
Methods
on
Handshake
Response?
Properties
headers
headers
:
Headers
Optional
protocols
protocols
?:
string
[]
Optional
signal
signal
?:
AbortSignal
Methods
Optional
on
Handshake
Response
onHandshakeResponse
(
res
:
Response
)
:
Promise
<
void
>
Parameters
res
:
Response
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
headers
protocols
signal
Methods
on
Handshake
Response
@libp2p/http
Loading...