Type Aliases

The following type aliases are available globally.

  • The response type of a HTTP request

    Declaration

    Swift

    public typealias DataTaskResponse = URLSession.DataTaskPublisher.Output
  • The header sent alogn with a HTTP request

    Version

    1.0.0

    Date

    20/11/22

    Author

    Adamas

    Declaration

    Swift

    public typealias RequestHeaders = [String : String]
  • The parameters attached to a URL

    Version

    1.0.0

    Date

    20/11/22

    Author

    Adamas

    Declaration

    Swift

    public typealias URLParameters = [(key: String, value: String)]