← All docs
stream_socket_client() — internals
Compiler internals for stream_socket_client(): lowering path, type checks, and runtime helpers.
stream_socket_client() — internals
Where it lives
- Signature:
src/builtins/io/stream_socket_client.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:2395 (lower_stream_socket_client) - Function symbol:
lower_stream_socket_client()
Lowering notes
- Lowers
stream_socket_client(address)and records the connected host for TLS defaults.
Runtime helpers
The following runtime helpers are referenced:
__rt_stash_connect_host__rt_stream_socket_client
Signature summary
function stream_socket_client(string $address): mixed
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/stream_socket_client.rs(eval_builtin!) - Dispatch hooks:
direct,values