dtls
Version, currently 0.9.45 versions
github.com/spider-gazelle/crystal-dtls
DTLS support for crystal lang
2 stars
2 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
dtls:
github: spider-gazelle/crystal-dtls
version: ~> 0.9.4Then run:
shards installshard.yml
- Crystal
>= 1.0.0
Dependencies
Development Dependencies
- ameba*github: veelenga/amebadev
README
Crystal Lang DTLS Support
Communicate over UDP securely with DTLS
Installation
-
Add the dependency to your
shard.yml:dependencies: dtls: github: spider-gazelle/crystal-dtls -
Run
shards install
Usage
require "dtls"
host = UDPSocket.new
host.connect "dtls.server", 4444
# Wrap the UDP connection
socket = DTLS::Socket::Client.new(host)
# Communicate over DTLS
socket << "request"
socket.flush
response = socket.gets
socket.close
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.9.4- Tagged
- Jul 15, 2026
- Commit
c89585dd66b5- Crystal
>= 1.0.0- Indexed
- yes
Dependents
Repository
github.com/spider-gazelle/crystal-dtls
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 5