Response

public struct Response

This struct is a representation of FRAuth’s API request response data structure, and is responsible to handle response serialization

  • Declaration

    Swift

    public init(data: Data?, response: URLResponse?, error: Error?)
  • Parses response into Result object

    Declaration

    Swift

    public func parseReponse() -> Result

    Return Value

    Result object notifying whether the request was successful, or failed with an error