MooshGet Method (String, ActionHttpWebRequest, ActionException, StreamReader) |
Asynchronously runs an HTTP GET request.
Namespace: MooshAssembly: Moosh (in Moosh.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void Get(
string url,
Action<HttpWebRequest> before,
Action<Exception, StreamReader> callback
)
Public Shared Sub Get (
url As String,
before As Action(Of HttpWebRequest),
callback As Action(Of Exception, StreamReader)
)
public:
static void Get(
String^ url,
Action<HttpWebRequest^>^ before,
Action<Exception^, StreamReader^>^ callback
)
static member Get :
url : string *
before : Action<HttpWebRequest> *
callback : Action<Exception, StreamReader> -> unit
Parameters
- url
- Type: SystemString
The URL to GET. - 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