sta / sta/websocket-sharp

Add access to HttpListnerContext

Open
#559 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.