Expand description
re-export msquic type
Modules§
Structs§
- Allowed
Cipher Suite Flags - Set of allowed TLS cipher suites.
- Api
- Entry point for some global MsQuic APIs.
- Buffer
Ref - Buffer with same abi as ffi type.
- Certificate
File - Certificate
File Protected - Certificate
Hash - Certificate
Hash Store - Certificate
Hash Store Flags - Modifies the default credential configuration.
- Certificate
Pkcs12 - Configuration
- Specifies how to configure a connection.
- Connection
- A single QUIC connection.
- Connection
Ref - Same as the owned type but does not own the handle. Only used in callback wrapping where handle should not be closed by default.
- Connection
Shutdown Flags - Controls connection shutdown behavior.
- Credential
Config - Credential
Flags - Modifies the default credential configuration.
- Handshake
Info - Listener
- A single server listener
- Listener
Ref - Same as the owned type but does not own the handle. Only used in callback wrapping where handle should not be closed by default.
- NewConnection
Info - Quic
Listener Statistics - A helper struct for accessing listener statistics.
- Quic
Performance Counters - A helper struct for accessing performance counters.
- Quic
TlsSecrets - Receive
Flags - Registration
- The execution context for processing connections on the application’s behalf.
- Registration
Config - Specifies the configuration for a new registration.
- Schannel
Context Attribute ExW - Schannel
Context AttributeW - Schannel
Credential AttributeW - Send
Flags - Controls stream and datagram send behavior.
- Settings
- Settings for MsQuic Wrapping QUIC_SETTINGS ffi type.
- Status
- Quic status used in non-ffi code. Internal representation matches the os platfrom type. Used for all non-ffi error return and callback status code fields.
- Stream
- A single QUIC stream on a parent connection.
- Stream
Open Flags - Controls stream open behavior.
- Stream
Ref - Same as the owned type but does not own the handle. Only used in callback wrapping where handle should not be closed by default.
- Stream
Shutdown Flags - Controls stream shutdown behavior.
- Stream
Start Flags - Controls stream start behavior.
- Ticket
KeyConfig - Key information for TLS session ticket encryption.
Enums§
- Connection
Event - Connection callback events. TODO: derive Debug once all enums are safe.
- Credential
- Type of credentials used for a connection.
- Datagram
Send State - Execution
Profile - Configures how to process a registration’s workload.
- Listener
Event - Listener event converted from ffi type.
- Server
Resumption Level - Type of resumption behavior on the server side.
- Status
Code - Enum of quic status codes.
- Stream
Event - Stream callback events
- TlsProvider
- The different possible TLS providers used by MsQuic.
Constants§
- ADDRESS_
FAMILY_ INET - ADDRESS_
FAMILY_ INET6 - ADDRESS_
FAMILY_ UNSPEC - CIPHER_
ALGORITHM_ AES_ 128 - CIPHER_
ALGORITHM_ AES_ 256 - CIPHER_
ALGORITHM_ CHACH A20 - CIPHER_
ALGORITHM_ NONE - CIPHER_
SUITE_ TLS_ AES_ 128_ GCM_ SHA256 - CIPHER_
SUITE_ TLS_ AES_ 256_ GCM_ SHA384 - CIPHER_
SUITE_ TLS_ CHACH A20_ POLY1305_ SHA256 - CONN_
DISABLE_ 1RTT_ ENCRYPTION - HASH_
ALGORITHM_ NONE - HASH_
ALGORITHM_ SHA_ 256 - HASH_
ALGORITHM_ SHA_ 384 - KEY_
EXCHANGE_ ALGORITHM_ NONE - LOAD_
BALANCING_ DISABLED - LOAD_
BALANCING_ SERVER_ ID_ IP - PARAM_
CONFIGURATION_ SCHANNEL_ CREDENTIAL_ ATTRIBUTE_ W - PARAM_
CONFIGURATION_ SETTINGS - PARAM_
CONFIGURATION_ TICKET_ KEYS - PARAM_
CONFIGURATION_ VERSION_ SETTINGS - PARAM_
CONN_ CLOSE_ REASON_ PHRASE - PARAM_
CONN_ DATAGRAM_ RECEIVE_ ENABLED - PARAM_
CONN_ DATAGRAM_ SEND_ ENABLED - PARAM_
CONN_ IDEAL_ PROCESSOR - PARAM_
CONN_ INITIAL_ DCID_ PREFIX - PARAM_
CONN_ LOCAL_ ADDRESS - PARAM_
CONN_ LOCAL_ BIDI_ STREAM_ COUNT - PARAM_
CONN_ LOCAL_ INTERFACE - PARAM_
CONN_ LOCAL_ UNIDI_ STREAM_ COUNT - PARAM_
CONN_ MAX_ STREAM_ IDS - PARAM_
CONN_ PEER_ CERTIFICATE_ VALID - PARAM_
CONN_ QUIC_ VERSION - PARAM_
CONN_ REMOTE_ ADDRESS - PARAM_
CONN_ RESUMPTION_ TICKET - PARAM_
CONN_ SETTINGS - PARAM_
CONN_ SHARE_ UDP_ BINDING - PARAM_
CONN_ STATISTICS - PARAM_
CONN_ STATISTICS_ PLAT - PARAM_
CONN_ STATISTICS_ V2 - PARAM_
CONN_ STATISTICS_ V2_ PLAT - PARAM_
CONN_ STREAM_ SCHEDULING_ SCHEME - PARAM_
CONN_ TLS_ SECRETS - PARAM_
CONN_ VERSION_ SETTINGS - PARAM_
GLOBAL_ DATAPATH_ PROCESSORS - PARAM_
GLOBAL_ GLOBAL_ SETTINGS - PARAM_
GLOBAL_ LIBRARY_ GIT_ HASH - PARAM_
GLOBAL_ LOAD_ BALACING_ MODE - PARAM_
GLOBAL_ PERF_ COUNTERS - PARAM_
GLOBAL_ RETRY_ MEMORY_ PERCENT - PARAM_
GLOBAL_ SETTINGS - PARAM_
GLOBAL_ SUPPORTED_ VERSIONS - PARAM_
GLOBAL_ VERSION - PARAM_
GLOBAL_ VERSION_ SETTINGS - PARAM_
LISTENER_ CIBIR_ ID - PARAM_
LISTENER_ LOCAL_ ADDRESS - PARAM_
LISTENER_ STATS - PARAM_
STREAM_ 0RTT_ LENGTH - PARAM_
STREAM_ ID - PARAM_
STREAM_ IDEAL_ SEND_ BUFFER_ SIZE - PARAM_
STREAM_ PRIORITY - PARAM_
TLS_ HANDSHAKE_ INFO - PARAM_
TLS_ NEGOTIATED_ ALPN - PARAM_
TLS_ SCHANNEL_ CONTEXT_ ATTRIBUTE_ EX_ W - PARAM_
TLS_ SCHANNEL_ CONTEXT_ ATTRIBUTE_ W - PARAM_
TLS_ SCHANNEL_ SECURITY_ CONTEXT_ TOKEN - QUIC_
TLS_ SECRETS_ MAX_ SECRET_ LEN - SEND_
RESUMPTION_ FLAG_ FINAL - SEND_
RESUMPTION_ FLAG_ NONE - STREAM_
SCHEDULING_ SCHEME_ COUNT - STREAM_
SCHEDULING_ SCHEME_ FIFO - STREAM_
SCHEDULING_ SCHEME_ ROUND_ ROBIN - TLS_
ALERT_ CODE_ ACCESS_ DENIED - TLS_
ALERT_ CODE_ BAD_ CERTIFICATE - TLS_
ALERT_ CODE_ CERTIFICATE_ EXPIRED - TLS_
ALERT_ CODE_ CERTIFICATE_ REQUIRED - TLS_
ALERT_ CODE_ CERTIFICATE_ REVOKED - TLS_
ALERT_ CODE_ CERTIFICATE_ UNKNOWN - TLS_
ALERT_ CODE_ ILLEGAL_ PARAMETER - TLS_
ALERT_ CODE_ INSUFFICIENT_ SECURITY - TLS_
ALERT_ CODE_ INTERNAL_ ERROR - TLS_
ALERT_ CODE_ SUCCESS - TLS_
ALERT_ CODE_ UNEXPECTED_ MESSAGE - TLS_
ALERT_ CODE_ UNKNOWN_ CA - TLS_
ALERT_ CODE_ UNSUPPORTED_ CERTIFICATE - TLS_
ALERT_ CODE_ USER_ CANCELED - TLS_
PROTOCOL_ 1_ 3 - TLS_
PROTOCOL_ UNKNOWN
Type Aliases§
- Address
Family - Family of an IP address.
- BOOLEAN
- C-style bool.
- Cipher
Algorithm - Cipher
Suite - Hash
Algorithm - KeyExchange
Algorithm - Listener
Callback - Listener callback. msquic may execute listener callback in parallel, so Fn is used for immutability.
- Load
Balancing Mode - Represents how load balancing is performed.
- Send
Resumption Flags - Modifies the behavior when sending resumption data.
- Stream
Callback - Stream callback. msquic never executes stream callback on the same stream in parallel.
- Stream
Scheduling Scheme - Controls the connection’s scheduling behavior for streams.
- TlsAlert
Code - Represents different TLS alert codes.
- TlsProtocol
Version - u62
- Unsigned 62-bit integer.
Unions§
- Addr
- Generic representation of IPv4 or IPv6 addresses.