import { type PlatformBindings } from "https://deno.land/x/smoldot2@light-js-deno-v2.0.29/internals/client.d.ts";
Contains functions that the client will use when it needs to leverage the platform.
Methods
connect(config: ConnectionConfig): Connection
Tries to open a new connection using the given configuration.
In case of a multistream connection, onMultistreamHandshakeInfo
should be called as soon
as possible.