API documentation of Agoric SDK / Exports / @agoric/network / types / Protocol
Interface: Protocol
@agoric/network.types.Protocol
The network Protocol
Table of contents
Properties
Properties
bind
• bind: (prefix
: string
) => PromiseVow
<Port
>
Claim a port, or if ending in ENDPOINT_SEPARATOR, a fresh name
Type declaration
▸ (prefix
): PromiseVow
<Port
>
Parameters
Name | Type |
---|---|
prefix | string |