Пример #1
0
    public void Request(uint id, OnWebResponse onResponse, OnWebError onError)
    {
        UWebRequest request = GetRequest(id);

        if (request != null)
        {
            m_CustomArgs.Merge(request.args);

            routine.Post(request, m_CustomArgs, onResponse, onError, m_TimeOutInterval);
        }

        m_CustomArgs.Clear();
    }
Пример #2
0
 public void RequestByWRI(EWebRequestId id, OnWebResponse onResponse, OnWebError onError)
 {
     Request((uint)id, onResponse, onError);
 }