Add access to HttpListnerContext
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating HttpRequestEventArgs and its private HttpListenerContext field. Review how the event arguments are constructed and consumed, then expose that context through a public property without changing existing behavior. Done means callers such as a self-hosted OWIN integration can access the HttpListenerContext.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100