← All docs
stream_socket_enable_crypto() — internals
Compiler internals for stream_socket_enable_crypto(): lowering path, type checks, and runtime helpers.
stream_socket_enable_crypto() — internals
Where it lives
- Signature:
src/builtins/io/stream_socket_enable_crypto.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:2545 (lower_stream_socket_enable_crypto) - Function symbol:
lower_stream_socket_enable_crypto()
Lowering notes
- Lowers
stream_socket_enable_crypto(stream, enable, method?, session_stream?).
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function stream_socket_enable_crypto(resource $stream, bool $enable, int $crypto_method = null, resource $session_stream = null): bool
What the type checker enforces
- Arity: takes 2–4 arguments (2 optional).
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/stream_socket_enable_crypto.rs(eval_builtin!) - Dispatch hooks:
direct,values