public static void Init() { HTTPOp protocolInstance = new HTTPOp(); protocolInstance.useHTTP(); Core newCore = new UniAsynCore(); newCore.SetClient(protocolInstance, false); protocolInstance.BindCore(newCore); currentCore = newCore; HTTPOp httpsProtocol = new HTTPOp(); sslProtocol = httpsProtocol.useHTTPS(); httpsCore = new UniAsynCore(); httpsCore.SetClient(httpsProtocol, false); httpsProtocol.BindCore(httpsCore); }