fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

wolfssl

wolfssl

wolfssl(T:Any,NET_LM:mutate,SSL_LM:mutate,host String,code Function T) => T[src]
NYI: UNDER DEVELOPMENT: define effect

Open a TLS connection using wolfSSL and run `code` within its context.

`host` is the name the server's certificate must be valid for. It is used to
enable peer certificate verification and, subsequently, to check the
certificate's domain name against the expected host.

Type Parameters

T:Any[src]
the result type of the code run when using wolfssl
NET_LM:mutate[src]
the mutate to use for reading/writing the raw network connection
SSL_LM:mutate[src]
the mutate to use for reading/writing to SSL encrypted connection from within `code`

Arguments

host String[src]
the host we are connected to, used for verification
code Function T[src]
the lambda to run, use SSL_LM to read/write
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23