Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add access to HttpListnerContext #559

Open
gottscj opened this issue Sep 1, 2019 · 1 comment
Open

Add access to HttpListnerContext #559

gottscj opened this issue Sep 1, 2019 · 1 comment

Comments

@gottscj
Copy link

gottscj commented Sep 1, 2019

In 'HttpRequestEventArgs' the 'HttpListenerContext' is a private field.

Could You add it as a public property?

This will enable me to write a HttpListener based on websocketsharp which is used in a selfhosted OWIN app.
I need to use ASP.NET web api 2, net472 on mono but would like to host websockets on the same port as im hosting my REST api. only think im missing is access to the HttpContext so I can use this when invoking the OWIN pipeline.

I have a branch ready and can create a PR, but I need rigths

thanks

@gottscj
Copy link
Author

gottscj commented Sep 2, 2019

Added PR #560

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant