Congratulations for this libevent host initiative. I think it is very cool.
I would like to insert a tiny observation, that NancyEvent2Host.cs uses a somewhat old Nancy Request constructor that appears not to be used anymore, and got deleted with this occasion:
I think the new constructor for the Request object is:
public Request(string method, Url url, RequestStream body = null,
IDictionary<string, IEnumerable> headers = null, string ip = null, byte[] certificate = null)
so your line in NancyEvent2Host.cs:
var nreq = new Request(req.Method, path, req.Headers, RequestStream.FromStream(new MemoryStream(req.RequestBody)), "http", query);
produces this in Mono 3.2.x / Ubuntu:
Missing method Nancy.Request::.ctor(string,string,IDictionary2<string, IEnumerable1>,RequestStream,string,string,string) in assembly Nancy.dll, referenced in assembly Nancy.Hosting.Event2.dll
In case I am looking at the wrong location, please let me know
Hello,
Congratulations for this libevent host initiative. I think it is very cool.
I would like to insert a tiny observation, that NancyEvent2Host.cs uses a somewhat old Nancy Request constructor that appears not to be used anymore, and got deleted with this occasion:
https://github.com/NancyFx/Nancy/commit/01e25d3fc322781278e484fb7c4c52625c2f6854
I think the new constructor for the Request object is: public Request(string method, Url url, RequestStream body = null, IDictionary<string, IEnumerable> headers = null, string ip = null, byte[] certificate = null)
so your line in NancyEvent2Host.cs: var nreq = new Request(req.Method, path, req.Headers, RequestStream.FromStream(new MemoryStream(req.RequestBody)), "http", query);
produces this in Mono 3.2.x / Ubuntu: Missing method Nancy.Request::.ctor(string,string,IDictionary>,RequestStream,string,string,string) in assembly Nancy.dll, referenced in assembly Nancy.Hosting.Event2.dll
2<string, IEnumerable
1In case I am looking at the wrong location, please let me know
All the best Sil