apple / apple/swift-http-api-proposal

[HTTPAPIs] Should HTTPServer.serve be mutating?

Open
#134 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.