public SnipeRequest CreateRequest(string message_type = null, ExpandoObject parameters = null)
        {
            SnipeRequest request = new SnipeRequest(this.Client, message_type);

            request.Data = parameters;
            return(request);
        }
示例#2
0
        internal SnipeRequest CreateRequest(ExpandoObject data)
        {
            if (Communicator == null || !Communicator.LoggedIn)
            {
                return(null);
            }

            SnipeRequest request = Communicator.CreateRequest();

            request.Data = data;
            return(request);
        }