-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
I'm using a multithreaded system and need to pass useragent, referer, proxy etc to HandleRequestLogged but the Action method is not supporting anything except Browser and HttpRequestLog
browser.RequestLogged += new Action<Browser, HttpRequestLog>(RequestViaBrowser.HandleRequestLogged);
public static void HandleRequestLogged(Browser req, HttpRequestLog log)
{
statusCode = log.ResponseCode.ToString();
}
Is there a way i can pass my class, strings etc like this?
browser.RequestLogged += new Action<Browser, HttpRequestLog, MyClass, MyString>(RequestViaBrowser.HandleRequestLogged);
And receive like this to get my data here and use
public static void HandleRequestLogged(Browser req, HttpRequestLog log, class MyClass, Mystring)
{
statusCode = log.ResponseCode.ToString();
}
Metadata
Metadata
Assignees
Labels
No labels