@libp2p/http
Preparing search index...
@libp2p/http
routes
AuthenticatedHTTPRequestHandler
Interface AuthenticatedHTTPRequestHandler
An HTTP handler that accepts the PeerId of the client as an argument
AuthenticatedHTTPRequestHandler
(
req
:
Request
,
peerId
:
PeerId
)
:
Promise
<
Response
>
Parameters
req
:
Request
peerId
:
PeerId
Returns
Promise
<
Response
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@libp2p/http
Loading...
An HTTP handler that accepts the PeerId of the client as an argument