Skip to main content

create_server

Function create_server 

Source
pub fn create_server(args: &[Value]) -> Result<Value, String>
Expand description

tls.createServer([options][, secureConnectionListener]). Parses key+cert into a ServerConfig eagerly (so a bad cert throws synchronously) and returns a TLSServer emitter.