Functions The following functions are available globally. Stubbing convertResponseToResult(_:request:data:error:) A public function responsible for converting the result of a URLRequest to a Result. Declaration Swift public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) -> Result<Moya.Response, MoyaError> © 2020 Ash Furrow. All rights reserved. (Last updated: 2020-02-24) Generated by jazzy ♪♫ v0.9.6, a Realm project.