Beispiel #1
0
        public CSteemAPI(string strHostname, EType type, ushort nPort)
        {
            if (type == EType.RPC)
            {
                m_oJson = new CJson(strHostname, nPort, "/rpc");
            }

            if (type == EType.WS)
            {
                m_oSocket = new CWebsocket(strHostname);
            }

            m_eType = type;
        }
Beispiel #2
0
 public CSteemAPI(string strHostname, ushort nPort)
 {
     m_oJson = new CJson(strHostname, nPort, "/rpc");
     m_eType = EType.RPC;
 }