We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1542c86 commit f551059Copy full SHA for f551059
Sources/AsyncHTTPClient/RequestBag+StateMachine.swift
@@ -255,6 +255,10 @@ extension RequestBag.StateMachine {
255
}
256
257
258
+ /// The response head has been received.
259
+ ///
260
+ /// - Parameter head: The response' head
261
+ /// - Returns: Whether the response should be forwarded to the delegate. Will be `false` if the request follows a redirect.
262
mutating func receiveResponseHead(_ head: HTTPResponseHead) -> Bool {
263
switch self.state {
264
case .initialized, .queued:
0 commit comments