JcSimpleConnection

public class JcSimpleConnection : JcConnection

Undocumented

  • Declaration

    Swift

    public private(set) var endPoint: URL { get }
  • Undocumented

    Declaration

    Swift

    public private(set) var authEndpoint: String { get }
  • Declaration

    Swift

    public internal(set) var isConnected: Bool { get }
  • Declaration

    Swift

    public internal(set) var failureReason: String? { get }
  • Declaration

    Swift

    public internal(set) var credentials: JcCredentials? { get }
  • Declaration

    Swift

    public internal(set) var headers: Dictionary<String, String>? { get }
  • Declaration

    Swift

    public func connect<T>(completionHandler: @escaping (JcRequestResponse<T>) -> Void) throws -> URLSessionDataTask where T : Decodable, T : Encodable