Table of Contents

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

address string

The URL address

method HttpMethod

The HTTP method

files IList<UploadFile>

The files to upload

values Dictionary<string, string>

The form values

httpRequestData HttpRequestData

The HTTP request configuration data

Returns

Task<string>

The response text