Types
QuicSession = ref object of P2PConnection
- Source Edit
QuicStream = ref object of P2PConnection
- Source Edit
QuicTransport = ref object of Transport
- Source Edit
QuicTransportAcceptStopped = object of QuicTransportError
- Source Edit
QuicTransportDialError = object of transport.TransportDialError
- Source Edit
QuicTransportError = object of transport.TransportError
- Source Edit
Procs
proc new(_: type QuicMuxer; conn: P2PConnection; peerId: Opt[PeerId] = Opt.none(PeerId)): QuicMuxer {. ...raises: [CertificateParsingError, LPError].}
- Source Edit
proc new(_: type QuicTransport; u: Upgrade; privateKey: PrivateKey): QuicTransport
- Source Edit
proc new(_: type QuicTransport; u: Upgrade; privateKey: PrivateKey; certGenerator: CertGenerator): QuicTransport
- Source Edit
Methods
method accept(self: QuicTransport): InternalRaisesFuture[Connection, (TransportError, CancelledError)] {....stackTrace: false, raises: [], gcsafe, tags: [RootEffect], forbids: [].}
- Source Edit
method close(m: QuicMuxer): InternalRaisesFuture[void, void] {. ...stackTrace: false, raises: [], gcsafe, tags: [RootEffect], forbids: [].}
- Source Edit
method close(session: QuicSession): InternalRaisesFuture[void, void] {. ...stackTrace: false, raises: [], gcsafe, tags: [RootEffect], forbids: [].}
- Source Edit
method closed(session: QuicSession): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
method closeImpl(stream: QuicStream): InternalRaisesFuture[void, void] {. ...stackTrace: false, raises: [], gcsafe, tags: [RootEffect], forbids: [].}
- Source Edit
method closeWrite(stream: QuicStream): InternalRaisesFuture[void, void] {. ...stackTrace: false, raises: [], gcsafe, tags: [RootEffect], forbids: [].}
- Close the write side of the QUIC stream Source Edit
method dial(self: QuicTransport; hostname: string; address: MultiAddress; peerId: Opt[PeerId] = Opt.none(PeerId)): InternalRaisesFuture[ Connection, (TransportError, CancelledError)] {....stackTrace: false, raises: [], gcsafe, tags: [RootEffect], forbids: [].}
- Source Edit
method getWrapped(self: QuicSession): P2PConnection {....raises: [], tags: [], forbids: [].}
- Source Edit
method getWrapped(self: QuicStream): P2PConnection {....raises: [], tags: [], forbids: [].}
- Source Edit
method handles(transport: QuicTransport; address: MultiAddress): bool {. ...raises: [], tags: [], forbids: [].}
- Source Edit
method newStream(m: QuicMuxer; name: string = ""; lazy: bool = false): InternalRaisesFuture[ P2PConnection, (CancelledError, LPStreamError, MuxerError)] {. ...stackTrace: false, raises: [], gcsafe, tags: [RootEffect], forbids: [].}
- Source Edit
method readOnce(stream: QuicStream; pbytes: pointer; nbytes: int): InternalRaisesFuture[ int, (CancelledError, LPStreamError)] {....stackTrace: false, raises: [], gcsafe, tags: [RootEffect], forbids: [].}
- Source Edit
method start(self: QuicTransport; addrs: seq[MultiAddress]): InternalRaisesFuture[ void, (LPError, TransportError, CancelledError)] {....stackTrace: false, raises: [], gcsafe, tags: [RootEffect], forbids: [].}
- Source Edit
method stop(transport: QuicTransport): InternalRaisesFuture[void, void] {. ...stackTrace: false, raises: [], gcsafe, tags: [RootEffect], forbids: [].}
- Source Edit
method write(stream: QuicStream; bytes: seq[byte]): InternalRaisesFuture[void, (CancelledError, LPStreamError)] {....stackTrace: false, raises: [], gcsafe, tags: [RootEffect], forbids: [].}
- Source Edit
Exports
-
DNS_OR_IP, contains, exclIfIt, hash, readSeq, data, UDP_DNS, MaError, IPFS, MaPatternOp, isEmpty, WS_DNS, initVBuffer, hex, protocols, bytes, ==, HTTPS, UNIX, waitForService, QUIC_DNS, LPError, TranscoderIP6, encode, MaResult, init, peekVarint, mapOr, writeSeq, &, Memory, DNS6, TLS_WS, TranscoderDNS, QUIC, [], [], IP4, TranscoderPort, withValue, safeConvert, $, WS_IP, withValue, public, MAKind, valueOr, includeFile, TranscoderOnion3, getRepeatedField, matchPartial, protoArgument, match, WebSockets_DNS, WebSockets, $, areAddrsConsistent, isEmpty, HTTP, finish, init, TcpOnion3, MAProtocol, peekSeq, toOpt, concat, IP, protoAddress, DNS4, QUIC_V1_IP, readArray, withValue, P2PPattern, isEnough, libp2p_multiaddress_exts, Reliable, len, WS, getPart, CircuitRelay, mapAnd, maErr, UDP_IP, DNSANY, DNSADDR, append, write, WSS_IP, peekArray, WSS, filterIt, QUIC_V1, TCP_IP, getField, Unreliable, checkFutures, TCP_DNS, capLen, init, protoName, IpTransportProtocol, validate, mapEq, Onion3, MaPattern, MaInvalidAddress, TranscoderP2P, toException, WSS_DNS, writeLPVarint, write, WebRTCDirect, len, UDP, TranscoderIP6Zone, MaPatResult, TranscoderOnion, QUIC_V1_DNS, init, shortLog, writeArray, init, UTP, [], IP6, shortLog, initVBuffer, QUIC_IP, initVBuffer, WebSockets_IP, VBuffer, writePBVarint, toChunks, TCP, protoArgument, init, init, MultiAddress, &=, readVarint, compilesOr, TranscoderMemory, TranscoderIP4, init, protoCode, $, toException, DNS, collectCompleted, items, TranscoderUnix, high, toString, writeVarint, ==, $, libp2p_multicodec_exts, MultiCodecError, codec, codec, ==, ==, InvalidMultiCodec, hash, multiCodec, multiCodec, MultiCodec, write, DNS_OR_IP, shortLog, init, random, UDP_DNS, MaError, libp2p_network_bytes, ephemeral, decode, MaPattern, MaPatternOp, ==, WS_DNS, initVBuffer, <=, filterIt, ECDHEScheme, shortLog, init, closed, [], MaxSizeError, shuffle, random, init, Secret, peekVarint, random, $, validate, mac, init, Memory, maxInlineKeyLength, TranscoderDNS, QUIC, [], QUIC_V1_DNS, ephemeral, withValue, WS_IP, public, MAKind, write, write, getField, valueOr, init, getRepeatedField, matchPartial, libp2p_pki_schemes, getBytes, len, areAddrsConsistent, init, readLp, HTTP, initVBuffer, atEof, LPStreamTrackerName, peekSeq, toOpt, join, fullAddrs, payloadType, LPStreamError, $, IP, protoAddress, QUIC_V1_IP, decode, newRng, ==, withValue, checkValid, getPublicKey, libp2p_multiaddress_exts, len, getPart, CircuitRelay, extractPublicKey, mapAnd, new, maErr, UDP_IP, new, newLPStreamEOFError, init, ==, DNSADDR, AddressMapper, write, WSS, LPStream, waitForService, QUIC_V1, TCP_IP, init, closeImpl, readSeq, toBytes, TCP_DNS, closeWrite, shortLog, encode, WebSockets, capLen, init, protoName, protoArgument, toRawBytes, $, WSS_DNS, match, writeLPVarint, CryptoResult, parseFullAddress, init, WebRTCDirect, init, UDP, PeerInfo, TranscoderOnion, StreamTracker, write, init, LPStreamResetError, writeArray, getRawBytes, LPStreamIncompleteError, PeerId, [], LPStreamEOFError, IP6, shortLog, decode, initVBuffer, PKScheme, random, init, init, Connection, write, init, TCP, PrivateKey, getBytes, write, init, &=, PeerInfoError, newLPStreamClosedError, payload, compilesOr, TranscoderMemory, close, TranscoderIP4, init, toException, DNS, init, collectCompleted, goffset, >, KeyPair, init, high, toString, init, cmp, DefaultConnectionTimeout, formatItIMPL, formatItIMPL, formatItIMPL, Signature, contains, exclIfIt, hash, formatItIMPL, toBytes, DigestSheme, IPFS, getField, shortLog, readOnce, init, isEmpty, data, shortLog, hex, protocols, bytes, hash, HTTPS, UNIX, LPError, TLS_WS, sign, init, encode, formatItIMPL, supported, MaResult, init, toBytes, writeSeq, init, &, DNS6, expandAddrs, IpTransportProtocol, init, IP4, TranscoderPort, writeLp, getBytes, safeConvert, init, >=, init, payloadDomain, $, withValue, init, includeFile, LPStreamLimitError, TranscoderOnion3, SignedPayload, toBytes, newLPStreamLimitError, write, keyOpenArray, match, WebSockets_DNS, $, isEmpty, init, newLPStreamIncompleteError, MAProtocol, newLPStreamResetError, initStream, getField, shortLog, DNS4, MultiAddress, getWrapped, selectBest, P2PPattern, Envelope, hasPublicKey, toException, isEnough, DNSANY, finish, Reliable, addrs, hex, closeImpl, write, WS, init, encode, init, stretchKeys, getField, match, readArray, <, iv, readLine, Eof, CryptoError, append, hash, init, parseFullAddress, WSS_IP, LPStreamConnDownError, peekArray, PeerRecord, init, SupportedSchemes, getField, RsaDefaultKeySize, Unreliable, SupportedSchemesInt, random, checkFutures, macOpenArray, validate, $, mapEq, Onion3, TcpOnion3, toFullAddress, concat, TranscoderP2P, AddressInfo, ConnectionTrackerName, TranscoderIP6, write, EnvelopeError, encode, len, newLPStreamRemoteClosedError, TranscoderIP6Zone, MaPatResult, Direction, key, InvalidVarintError, shortLog, ==, init, write, getBytes, write, init, UTP, readVarint, verify, TimeoutHandler, QUIC_IP, PublicKey, WebSockets_IP, VBuffer, writeLp, writePBVarint, toChunks, readExactly, protoArgument, mapOr, newLPStreamConnDownError, init, initStream, readVarint, ivOpenArray, closeWithEOF, orError, getField, LPStreamRemoteClosedError, protoCode, MaInvalidAddress, LPStreamClosedError, items, write, getOrder, QUIC_DNS, update, TranscoderUnix, SignedPeerRecord, writeVarint, TransportInvalidAddrError, dial, upgrade, initialize, newTransportClosedError, TransportDialError, safeCloseWait, stop, accept, TransportError, TransportClosedError, NetworkReachability, Transport, dial, safeClose, handles, start