swift-server / swift-server/swift-http-server
WebSocket support to the HTTP server
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 44
- Forks
- 13
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 8
Description
Opening this issue to discuss adding WebSocket support to HTTP Server, and what the best API shape for it should be: a method on RequestContext to opt into the upgrade, a dedicated handler type, reusing the existing upgrade path, or something else — and whether the handler gets raw WebSocketFrames or a higher-level message API.
Contributor guide
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 reading the HTTP server's existing upgrade path and the RequestContext API mentioned in the issue. Compare the proposed handler and WebSocket frame or message interfaces before deciding on an API shape. Done means agreeing on the design and implementing WebSocket support around that chosen interface.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- backend, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100