Class NetHelper
- Namespace
- SunamoHttp
- Assembly
- SunamoHttp.dll
Network helper utilities for HTTP operations
public class NetHelper
- Inheritance
-
NetHelper
- Inherited Members
- Extension Methods
Methods
PostFiles(string, HttpMethod, IList<UploadFile>, Dictionary<string, string>, HttpRequestData)
Posts files with form data to the specified address
public static Task<string> PostFiles(string address, HttpMethod method, IList<UploadFile> files, Dictionary<string, string> values, HttpRequestData httpRequestData)
Parameters
addressstringThe URL address
methodHttpMethodThe HTTP method
filesIList<UploadFile>The files to upload
valuesDictionary<string, string>The form values
httpRequestDataHttpRequestDataThe HTTP request configuration data