Skip to content

Conversation

@gjcairo
Copy link
Collaborator

@gjcairo gjcairo commented Nov 11, 2025

No description provided.

@gjcairo gjcairo requested a review from FranzBusch November 11, 2025 10:52
Comment on lines 8 to 11
associatedtype ConcludingRequestReader: ConcludingAsyncReader & ~Copyable
associatedtype ConcludingResponseWriter: ConcludingAsyncWriter & ~Copyable

associatedtype RequestHandler: HTTPServerRequestHandler
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add docs to those associated types?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added docs to associated types, but on second thought, I really don't think we need the readers and writers on the server protocol. We don't use them anywhere. Correct me if I'm wrong but we should get the same functionality just having the request handler as an associated type, and the associated types for readers and writers only on the handler.

@gjcairo gjcairo merged commit 8f1c17e into main Nov 13, 2025
4 of 18 checks passed
@gjcairo gjcairo deleted the server-protocol branch November 13, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants