apple / apple/swift-http-api-proposal
[HTTPAPIs] Should HTTPServer.serve be mutating?
Open
http-server
- Dominant language
- Swift
- Stars
- 66
- Forks
- 21
- Avg merge
- 7h 39m
- Merged PRs (30d)
- 2
Description
`HTTPServer` is `~Copyable`, so to implement a stateful struct-based server, `serve` should be `mutating`. We should consider whether to make this change or remove `~Copyable`.
Contributor guide
Assessment
This issue has not been assessed yet.