Protocols

The following protocols are available globally.

  • Types adopting the URLStringConvertible protocol can be used to construct URL strings, which are then used to construct URL requests.

    See more

    Declaration

    Swift

    public protocol URLStringConvertible
  • Types adopting the URLRequestConvertible protocol can be used to construct URL requests.

    See more

    Declaration

    Swift

    public protocol URLRequestConvertible
  • The type in which all response serializers must conform to in order to serialize a response.

    See more

    Declaration

    Swift

    public protocol ResponseSerializerType