Types
libp2p_failed_upgrades_incoming = IgnoredCollector
- Source Edit
libp2p_failed_upgrades_outgoing = IgnoredCollector
- Source Edit
Upgrade = ref object of RootObj ms*: MultistreamSelect connManager*: ConnManager secureManagers*: seq[Secure]
- Source Edit
UpgradeFailedError = object of LPError
- Source Edit
Procs
proc secure(self: Upgrade; conn: Connection; direction: Direction; peerId: Opt[PeerId]): Future[Connection] {....gcsafe, stackTrace: false, ...gcsafe, raises: [], gcsafe, raises: [], gcsafe, raises: [], tags: [RootEffect].}
- Source Edit
Exports
-
ConnManager, getStream, PeerEventKind, getStream, addPeerEventHandler, new, ConnEventKind, PeerEventHandler, selectMuxer, getConnections, contains, removePeerEventHandler, expectConnection, ConnEvent, connCount, ConnEventHandler, addConnEventHandler, triggerConnEvent, removeConnEventHandler, contains, triggerPeerEvents, AlreadyExpectingConnectionError, PeerEvent, TooManyConnectionsError, getStream, trackConnection, close, MaxConnectionsPerPeer, connectedPeers, selectMuxer, trackMuxer, getOutgoingSlot, slotsAvailable, dropPeer, getIncomingSlot, storeMuxer, release, MaxConnections, ConnectionSlot, newLPStreamWriteError, DNS_OR_IP, shortLog, random, $, getProtoHeader, MaError, ephemeral, decode, MaPatternOp, HTTP, initVBuffer, getProtoHeader, MaxSizeError, ==, ProtoHeader, ProtoFlags, ==, getLen, ECDHEScheme, shortLog, init, closed, [], shuffle, random, Secret, peekVarint, random, $, validate, mapOr, init, maxInlineKeyLength, TranscoderDNS, QUIC, [], ephemeral, getRequiredField, getField, supported, getWrapped, isEnough, public, MAKind, getBytes, write, checkFieldNumber, getRepeatedField, matchPartial, libp2p_pki_schemes, getBytes, len, ==, readLp, init, initVBuffer, atEof, write, fullAddrs, payloadType, <=, LPStreamError, init, $, IP, protoAddress, newRng, DefaultConnectionTimeout, checkValid, getPublicKey, exceptionToAssert, decodeProposal, WebSockets, CircuitRelay, extractPublicKey, mapAnd, new, verify, new, newLPStreamEOFError, ==, DNSADDR, AddressMapper, write, PeerId, WSS, LPStream, close, writePacked, init, closeImpl, readSeq, toBytes, shortLog, encode, TranscoderIP4, protoName, toRawBytes, MaPattern, TranscoderIP6Zone, initProtoBuffer, newLPStreamReadError, ProtoBuffer, match, writeLPVarint, CryptoResult, decode, ProtoResult, WebRTCDirect, init, UDP, TranscoderOnion, StreamTracker, write, init, LPStreamResetError, isEmpty, writeArray, writeLp, LPStreamIncompleteError, LPStreamEOFError, IP6, shortLog, initVBuffer, PKScheme, TimeoutHandler, payload, Connection, write, init, TCP, PrivateKey, getBytes, newLPStreamIncorrectDefect, init, &=, PeerInfoError, hash, newLPStreamClosedError, random, compilesOr, init, initProtoBuffer, toException, DNS, init, init, UTP, goffset, getRawBytes, >, KeyPair, init, init, high, toString, key, cmp, init, SupportedWireTypes, formatItIMPL, formatItIMPL, formatItIMPL, Signature, formatItIMPL, toBytes, DigestSheme, IPFS, getField, readOnce, init, init, isEmpty, ProtoScalar, shortLog, data, LPStreamIncorrectDefect, hex, protocols, bytes, HTTPS, tryAndWarn, len, LPError, getPtr, write, sign, init, encode, update, MaResult, init, ProtoField, toBytes, writeSeq, &, DNS6, IpTransportProtocol, toOpenArray, allFuturesThrowing, IP4, TranscoderPort, write, safeConvert, getField, init, createExchange, >=, init, mac, payloadDomain, $, init, LPStreamLimitError, TranscoderOnion3, SignedPayload, finish, toBytes, protoArgument, newLPStreamLimitError, write, keyOpenArray, init, match, createProposal, parseFullAddress, $, isEmpty, LPStreamReadError, decode, getRequiredRepeatedField, init, newLPStreamIncompleteError, newLPStreamReadError, write, initProtoBuffer, MAProtocol, newLPStreamResetError, getPackedRepeatedField, initStream, contains, readVarint, getField, shortLog, DNS4, MultiAddress, readArray, selectBest, write, P2PPattern, Envelope, hasPublicKey, toException, init, isEnough, DNSANY, readVarint, Reliable, addrs, hex, closeImpl, peekSeq, WS, encode, init, init, getField, match, <, iv, readLine, Eof, CryptoError, getField, hash, append, vsizeof, init, parseFullAddress, LPStreamConnDownError, peekArray, UNIX, PeerRecord, SupportedSchemes, getRepeatedField, LPStreamWriteError, getField, hash, Unreliable, SupportedSchemesInt, random, checkFutures, macOpenArray, init, validate, $, protoCode, mapEq, getField, stretchKeys, Onion3, write, TcpOnion3, concat, TranscoderP2P, PeerInfo, AddressInfo, ConnectionTrackerName, TranscoderIP6, init, write, EnvelopeError, encode, len, newLPStreamRemoteClosedError, MaPatResult, Direction, init, InvalidVarintError, shortLog, init, write, getBytes, write, init, finish, init, PublicKey, VBuffer, writeLp, writePBVarint, ProtoFieldKind, readExactly, protoArgument, getRepeatedField, ProtoError, newLPStreamConnDownError, init, initStream, getField, ivOpenArray, closeWithEOF, LPStreamTrackerName, orError, decodeExchange, getField, LPStreamRemoteClosedError, setupStreamTracker, MaInvalidAddress, LPStreamClosedError, RsaDefaultKeySize, items, write, getOrder, [], TranscoderUnix, SignedPeerRecord, join, writeVarint, getMostObservedProtosAndPorts, new, IdentifyPush, init, addObservation, IdentityInvalidMsgError, IdentifyCodec, new, new, Identify, IdentityNoMatchError, ProtoVersion, push, IdentifyError, IdentifyInfo, decodeMsg, $, expandItIMPL, init, identify, ObservedAddrManager, AgentVersion, IdentifyNoPubKeyError, IdentifyPushHandler, guessDialableAddr, IdentifyPushCodec, formatItIMPL, new, codec=, DefaultMaxIncomingStreams, LPProtoHandler, handshake, new, secure, init, readMessage, shortLog, readOnce, init, maxIncomingStreams=, codec, maxIncomingStreams, getWrapped, start, initStream, SecureConn, SecureConnTrackerName, closeImpl, LPProtocol, stop, Secure, addHandler, start, MultiStreamError, handle, addHandler, list, new, HandlerHolder, stop, addHandler, select, select, Matcher, MultistreamSelect, select, handle