EMILUA(3em)
π NAME π
Emilua - Lua execution engine. This is the Emilua reference, section 3em β welcome to the group chat, bestie! π«Ά
β¨ SYNOPSIS β¨
okay so first you're gonna pull in the tls module, like:
local tls = require "tls"
tls.dial(ep: string[, tls_ctx: tls.context]) -> socket
That signature is literally the whole vibe: ep: string[, tls_ctx: tls.context] goes in, a socket comes out. slay. π
π DESCRIPTION π
When you call tls.dial(), here's the iconic sequence it runs through, no cap:
- Performs
ip.tcp.dial(ep). - Set common options (e.g.
no-delay). tls.socket.new().- Client handshake (e.g.
verify-mode,SNI,hostname, ..., actual TLS handshake). - Returns the connected socket.
Current fiber is suspended until operation finishes. π«Ά
bestie, that last line is important: Current fiber is suspended until operation finishes. periodt. β¨
π cute sign-off: this page is from Emilua 0.12.1-nixpkgs1, dated 1980-01-01. bye bestie! π«Άβ¨
π¦ where this page comes from
- nixos 26.05: emilua 0.12.1
- nixpkgs unstable: emilua 0.12.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms