Пример #1
0
    /// <summary>
    /// Gets the raw message.
    /// Http-Get
    /// </summary>
    /// <param name="httpurl">Httpurl.</param>
    public void GetRawMessage(string httpurl)
    {
                #if SOCKET_IO_DEBUG
        debugMethod.Invoke("[SocketIO] " + packet);
                #endif

        //directly coroutine..
        //TODO:Synchronize better?not realize..
        hs.IsSyncHttpDone = false;
        SCAppMain.Instance().StartCoroutine(hs.GetHttpRequest(httpurl, null));

        Log.info(this, "Data sended,[url]:" + httpurl);
    }