Skip to main content

Crate rumqttc_core

Crate rumqttc_core 

Source
Expand description

§rumqttc-core-next

crates.io page docs.rs page

rumqttc-core-next contains the shared transport and connection plumbing used by the rumqttc-next protocol crates.

§Scope

  • Shared TCP, TLS, WebSocket, and proxy integration code.
  • Shared NetworkOptions, TlsConfiguration, socket connectors, and adapter traits.
  • Internal support crate for rumqttc-v4-next, rumqttc-v5-next, and the rumqttc-next facade.

This crate is not a full MQTT client and does not expose the v4 or v5 protocol APIs by itself.

Structs§

NetworkOptions
Provides a way to configure low level network connection configurations
Proxyproxy
WsAdapterwebsocket
Bridges async-tungstenite’s split WebSocket halves (ByteReader + ByteWriter) into a unified AsyncRead + AsyncWrite object compatible with rumqttc’s Network abstraction.

Enums§

ProxyAuthproxy
ProxyErrorproxy
ProxyTypeproxy
TlsConfigurationuse-rustls-no-provider or use-native-tls
TLS configuration method
TlsErroruse-rustls-no-provider or use-native-tls
UrlErrorwebsocket
ValidationErrorwebsocket

Traits§

AsyncReadWritewebsocket

Functions§

default_socket_connect
Default TCP socket connection logic used by the MQTT event loop.
split_urlwebsocket
tls_connectuse-rustls-no-provider or use-native-tls
Establishes a TLS stream on top of an already connected transport.
validate_response_headerswebsocket

Type Aliases§

DynAsyncReadWrite
SocketConnector
Custom socket connector used to establish the underlying stream before optional proxy/TLS layers.