コード例 #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;
        }
コード例 #2
0
ファイル: CSteemAPI.cs プロジェクト: nanomobile/Steem.NET
 public CSteemAPI(string strURI)
 {
     m_oSocket = new CWebsocket(strURI);
     m_eType   = EType.WS;
 }