コード例 #1
0
 public async Task <ExplicitResult> ExplicitAsync(ExplicitParams parameters)
 {
     using (var response = await Api.CallAsync(HttpMethod.Post, Api.ApiUrlImgUpV.Action("explicit").BuildUrl(), parameters.ToParamsDictionary(), null, null))
     {
         return(await ExplicitResult.Parse(response));
     }
 }
コード例 #2
0
        public ExplicitResult Explicit(ExplicitParams parameters)
        {
            string uri = m_api.ApiUrlImgUpV.Action("explicit").BuildUrl();

            using (HttpWebResponse response = m_api.Call(HttpMethod.POST, uri, parameters.ToParamsDictionary(), null))
            {
                return(ExplicitResult.Parse(response));
            }
        }