swift-server / swift-server/async-http-client
delegate docs need clarification about didReceiveError/didFinishRequest
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 1.1k
- Forks
- 156
- PR merge metrics
- No merged PRs in 30d
Description
Immediate questions:
- will
didFinishRequestbe called afterdidReceiveError? Yes/No/Maybe - can
didSendRequestHeadbe called if eitherdidFinishRequest/didReceiveErrorwere previously called? - can
didReceiveBodyPartbe called if eitherdidFinishRequest/didReceiveErrorwere previously called?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the delegate documentation and the implementations or tests covering didReceiveError, didFinishRequest, didSendRequestHead, and didReceiveBodyPart. Determine the callback ordering and document the answers to the three questions, with the documentation matching the established behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100