Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

offer Structured Concurrency API that supports HTTP response streaming

オープン
#807 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
swift

調査の方向性

まず、HTTPClient の既存の非構造化リクエスト API と、#806 の Structured Concurrency の作業を確認してください。キャンセルをサポートし、body callback が戻るか例外をスローしたときにリクエストが解放されるよう、callback ベースの execute(request) API を定義して実装してください。

索引モデルが issue の本文から書いたものです。

説明

Currently, most of HTTPClient's API surface only supports Structured Concurrency violating functions. Baby steps to rectify this have been done in #806. But the elephant in the room is of course the unstructured HTTP request API.

We need to also provide a

try await httpClient.execute(request) { status, responseBodyStream in
   ...
}

API that fulfils Structured Concurrency by supporting cancellation and tearing everything down when the body function returns or throws without ineffective and ugly hacks like deinit (which still violates Structured Concurrency because it doesn't follow the structure of the code).

主要言語
Swift
スター
1.1k
フォーク
156
平均マージ
1時間 54分
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

swift-server/async-http-client のほかの issue

swift-server/async-http-client の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。