Classes

The following classes are available globally.

  • Provides an EventSource client for consuming Server-Sent Events.

    See the Server-Sent Events spec for more details.

    See more

    Declaration

    Swift

    public class EventSource
  • Error class that indicates the remote server returned an unsuccessful HTTP response code.

    See more

    Declaration

    Swift

    public class UnsuccessfulResponseError : Error
  • Undocumented

    See more

    Declaration

    Swift

    public class DevicePerformanceClassifier
  • Network speed testing utility that measures download performance across multiple URLs.

    See more

    Declaration

    Swift

    public class NetworkSpeedTester : NSObject, URLSessionDelegate, URLSessionDataDelegate, URLSessionTaskDelegate
  • SpeedAnalyser is a utility class for measuring download speed from a list of URLs. It provides methods to measure speed asynchronously and report progress and results.

    See more

    Declaration

    Swift

    public class SpeedAnalyser
  • Class that provides multicast delegate feature for a generic protocol. Delegate objects could be added using addDelegate and removeDelegate functions. Delegate callbacks can be triggered to all registered delegates using invokeDelegate function.

    See more

    Declaration

    Swift

    public class MulticastDelegate<ProtocolType>
  • A wrapper type generic class to facilitate observer pattern

    See more

    Declaration

    Swift

    public final class Observable<T>