private (HttpClient, MultipartFormDataContent) Create(HttpClient _client, HClientCookie _clientCookie, HClientHeader _clientHeader, HMultipart multipart) { HttpClient client = null; MultipartFormDataContent content = null; client = HClientService.Create(_client, _clientCookie, _clientHeader); content = HContentService.Create(multipart); return(client, content); }
private (HttpClient, HttpContent) Create(HttpClient _client, HClientCookie _clientCookie, HClientHeader _clientHeader, string _json = null) { HttpClient client = null; HttpContent hContent = null; client = HClientService.Create(_client, _clientCookie, _clientHeader); if (_json != null) { hContent = HContentService.Create(_json); } else { hContent = HContentService.Create(_clientHeader); } return(client, hContent); }