MooshPost Method (String, DictionaryString, String, ActionHttpWebRequest, ActionException, StreamReader) |
Asynchronously runs an HTTP POST request.
Namespace: MooshAssembly: Moosh (in Moosh.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void Post(
string url,
Dictionary<string, string> postData,
Action<HttpWebRequest> before,
Action<Exception, StreamReader> callback
)
Public Shared Sub Post (
url As String,
postData As Dictionary(Of String, String),
before As Action(Of HttpWebRequest),
callback As Action(Of Exception, StreamReader)
)
public:
static void Post(
String^ url,
Dictionary<String^, String^>^ postData,
Action<HttpWebRequest^>^ before,
Action<Exception^, StreamReader^>^ callback
)
static member Post :
url : string *
postData : Dictionary<string, string> *
before : Action<HttpWebRequest> *
callback : Action<Exception, StreamReader> -> unit
Parameters
- url
- Type: SystemString
The URL to POST. - postData
- Type: System.Collections.GenericDictionaryString, String
Additional data to include in the request. - before
- Type: SystemActionHttpWebRequest
A function to run on the generated request before sending it. - callback
- Type: SystemActionException, StreamReader
A function (Exception, StreamReader) to be called upon completion.
See Also