RequestState
public enum RequestState
Indicates whether a Request
has been started, and whether it has completed.
See also
Request.state
-
The request is frozen, waiting for a call to
Request.start()
. You can still attach completion hooks to this request, but they will not be called until the request stars.Declaration
Swift
case notStarted
-
The request has started, and is waiting for a response. Its state will eventually transition to
completed
.Declaration
Swift
case inProgress
-
The request has a response, and its state will note change any further. A request may be in this state because it received and handled a server response, encountered a pre-request client-side side error, or was cancelled.
Declaration
Swift
case completed