apple / apple/swift-http-api-proposal

Add a `ConnectionInfo` server capability

Open
#178 0 comments 1 reaction 0 assignees View on GitHub
kind/feature
Dominant language
Swift
Stars
66
Forks
21
Avg merge
7h 39m
Merged PRs (30d)
2

Description

We should provide an `HTTPServerCapability` for exposing connection-scoped peer and local addresses.

This was added to the `NIOHTTPServer` in https://github.com/swift-server/swift-http-server/pull/92 but should be upstreamed to the `HTTPServer` abstract API.

Contributor guide

Open the contributing guide

Research direction

Start with the HTTPServer abstract API and compare it with the ConnectionInfo capability added in swift-server/swift-http-server pull request #92. Determine how the capability should expose connection-scoped peer and local addresses upstream. Done means the standardized HTTPServer API provides this capability consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.