Crate tokio_dtls_stream_sink

Crate tokio_dtls_stream_sink 

Source
Expand description

§tokio-dtls-stream-sink

CI GitHub release (latest SemVer) Matrix

Tokio-based streaming API for UDP datagrams over DTLS.

This crate combines openssl, tokio-openssl and tokio into “client” and “server” APIs with support for establishing DTLS sessions.

Structs§

Client
A client capable of creating multiple UDP + DTLS sessions.
Server
Instance of a UDP (+ DTLS) server that can accept new connections in form of of a packet stream/sink.
Session
A UDP + DTLS session.

Traits§

PacketFramed
Unified trait for a packet stream and sink