HTTPResult
public enum HTTPResult<Result>
                The enum used to represent the response from a call to the Service and also
in the implementation of a HTTPAdapter handling HTTP requests.
- 
                  
                  
Indicates the request is successful, but has no return data associated with it.
Declaration
Swift
case empty 
- 
                  
                  
Indicates a successful request with it’s associated data.
Declaration
Swift
case data(Result) 
- 
                  
                  
Indicates a request that has failed. This may contain an error from the
Service, theHTTPAdapteror an error from attempting to parse the server response into aResource.Declaration
Swift
case error(Error) 
            View on GitHub
          
            Install in Dash
          
      HTTPResult Enum Reference