コード例 #1
0
        public string PostString( string uri, string postString, Dictionary<string, string> headers )
        {
            IPoster poster = new PosterSynch();
            NetworkResponse networkResponse = poster.PostString( uri, postString, headers );

            return networkResponse.ResponseString;
        }
コード例 #2
0
        public string PostObject( string uri, object postObject )
        {
            IPoster poster = new PosterSynch();
            NetworkResponse networkResponse = poster.PostObject( uri, postObject, (Dictionary<string, string>) null );

            return networkResponse.ResponseString;
        }
コード例 #3
0
        public string PostObject( string uri, object postObject, Dictionary<string, string> headers )
        {
            IPoster poster = new PosterSynch();
            NetworkResponse NetworkResponse = poster.PostObject( uri, postObject, headers );

            return NetworkResponse.ResponseString;
        }
コード例 #4
0
        public string PostBytes( string uri, byte[] postBytes, string contentType, Dictionary<string, string> headers )
        {
            IPoster poster = new PosterSynch();
            NetworkResponse networkResponse = poster.PostBytes( uri, postBytes, contentType, headers );

            return networkResponse.ResponseString;
        }
コード例 #5
0
        public string PostString(string uri, string postString, Dictionary <string, string> headers)
        {
            IPoster         poster          = new PosterSynch();
            NetworkResponse networkResponse = poster.PostString(uri, postString, headers);

            return(networkResponse.ResponseString);
        }
コード例 #6
0
        public string PostObject(string uri, object postObject, Dictionary <string, string> headers)
        {
            IPoster         poster          = new PosterSynch();
            NetworkResponse NetworkResponse = poster.PostObject(uri, postObject, headers);

            return(NetworkResponse.ResponseString);
        }
コード例 #7
0
        public string PostObject(string uri, object postObject)
        {
            IPoster         poster          = new PosterSynch();
            NetworkResponse networkResponse = poster.PostObject(uri, postObject, (Dictionary <string, string>)null);

            return(networkResponse.ResponseString);
        }
コード例 #8
0
        public string PostBytes(string uri, byte[] postBytes, string contentType, Dictionary <string, string> headers)
        {
            IPoster         poster          = new PosterSynch();
            NetworkResponse networkResponse = poster.PostBytes(uri, postBytes, contentType, headers);

            return(networkResponse.ResponseString);
        }