swift-server / swift-server/async-http-client

Tracking Send/Upload Progress

Open
#819 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
1.1k
Forks
156
PR merge metrics
No merged PRs in 30d

Description

Am I correct that to track the progress of sent data, you need to use a delegate? And further, I would need to use futures to use the delegate? I can't seem to figure out how to do either of those things (tracking send progress being the goal) without using event futures.

If I am correct, let's file this under a feature request to allow for delegate/ability otherwise to track send progress.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing delegate, futures, and event-futures APIs referenced in the issue to determine how sent-data progress is currently exposed. Clarify whether progress can be tracked without event futures, then define and validate an API that provides send/upload progress through the requested delegate or equivalent mechanism.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.