FreeMoney.FreeMoneyModule.UserPage C# (CSharp) Method

UserPage() public method

public UserPage ( Hashtable request ) : Hashtable
request System.Collections.Hashtable
return System.Collections.Hashtable
        public Hashtable UserPage(Hashtable request)
        {
            UUID txnID = new UUID ((string)request["txn"]);

            if (!m_transactionsInProgress.ContainsKey (txnID)) {
                Hashtable ereply = new Hashtable ();

                ereply["int_response_code"] = 404;
                // 200 OK
                ereply["str_response_string"] = "Invalid Transaction";
                ereply["content_type"] = "text/html";

                return ereply;
            }

            FreeMoneyTransaction txn = m_transactionsInProgress[txnID];

            string baseUrl = m_scenes[0].RegionInfo.ExternalHostName + ":" + m_scenes[0].RegionInfo.HttpPort;

            return ShowUserPage(request, baseUrl, txn, "");
        }