def conn.secure.no.cert

bend-kit-http@0.38.2.0 · http.bend:2847

import bend-kit-http@0.38.2.0/http.bend as Http
import Base

2847def conn.secure.no.cert(empty: Bool, offer: Bool, s: Socket, host: String, +ms: U32,
2848    +ca: String) -> IO(Result<&1, &1, Err, Conn>):
2849  match empty:
2850    case True{}:
2851      conn.secure.store(offer, s, host, ms)
2852    case False{}:
2853      conn.secure.file(offer, s, host, ms, ca)

Uses (10)

Used by (1)