ACMNetworkConstants

public enum ACMNetworkConstants

ACMNetworkConstants

Enumaration for holding the network message constants

  • Error message for generic network error

    Declaration

    Swift

    public static var errorMessage: String
  • Error message if url is not created and invalid

    Declaration

    Swift

    public static var errorURLMessage: String
  • Info message for generic response

    Declaration

    Swift

    public static var responseInfoMessage: String
  • Error message if response is empty

    Declaration

    Swift

    public static var responseNullMessage: String
  • Error message if data is empty

    Declaration

    Swift

    public static var dataNullMessage: String
  • Success message for data parsing successfully completed

    Declaration

    Swift

    public static var dataParseSuccessMessage: String
  • Error message if data is invalid and could not be parsed

    Declaration

    Swift

    public static var dataParseErrorMessage: String
  • Error message for generic url request error

    Declaration

    Swift

    public static var urlRequestErrorMessage: String
  • Error message for generic status error

    Declaration

    Swift

    public static var httpStatusError: String
  • Info message for url value

    Declaration

    Swift

    public static var httpURLMessage: String
  • Info message for autharization headers

    Declaration

    Swift

    public static var httpAuthHeadersMessage: String
  • Info message for headers

    Declaration

    Swift

    public static var httpHeadersMessage: String
  • Info message for query items

    Declaration

    Swift

    public static var httpQueryItemsMessage: String
  • Info message for body payload

    Declaration

    Swift

    public static var httpBodyMessage: String
  • Info message for request type

    Declaration

    Swift

    public static var httpRequestType: String
  • Info message for multipart with data length

    Declaration

    Swift

    public static var httpBodyMultipart: String
  • Info message for retry mechanism

    Declaration

    Swift

    public static var httpRetryCount: String
  • Content type model for holding multipart header with boundary

    Declaration

    Swift

    static var multipartContentType: ACMMultipartContentTypeModel { get }
  • Header for holding multipart header with content type

    Declaration

    Swift

    static func multipartHeader(model: ACMMultipartContentTypeModel) -> ACMHeaderModel
  • Header for holding multipart accept type

    Declaration

    Swift

    static var multipartDataAccept: ACMHeaderModel { get }
  • Header for holding json content type

    Declaration

    Swift

    static var headerContentTypeJSON: ACMHeaderModel
  • Header for authorization

    Declaration

    Swift

    static var headerAuthorization: String