Protocols

The following protocols are available globally.

  • A Type respresenting Error. A Int (UInt32) error code with hex representation is used to represent error codes. First 16 Bits (Bits 0-15) represent component error codes. Second 16 Bits (Bits 16-31) represent error categories.

    See more

    Declaration

    Swift

    public protocol FLError : Error
  • A type representing exception errors

    See more

    Declaration

    Swift

    public protocol FLExceptionError : FLError
  • The contract for logging service. All logging service providers must conform to this protocol.

    See more

    Declaration

    Swift

    public protocol Logger
  • Type to provide a custom formatting. If you wanna provide your own custom formatting while logging your custom type, extend it to conform to this protocol.

    See more

    Declaration

    Swift

    public protocol CustomOSLogMessageConvertible
  • The contract for HTTP URL loading service. All HTTP Clients must conform to provide HTTP URL Loading services.

    See more

    Declaration

    Swift

    public protocol HTTPClient
  • The type which provides response and cancel handles for a URL Load Request

    See more

    Declaration

    Swift

    public protocol ResponseHandler
  • A type to transform Data to Self of conforming instance.

    See more

    Declaration

    Swift

    public protocol DataConvertible
  • Protocol for an object that will receive SSE events.

    See more

    Declaration

    Swift

    public protocol SidebandEventHandler
  • The Session which is responsible for performing URL Load requests

    See more

    Declaration

    Swift

    public protocol Session
  • SessionTask type that represents a URL Load Request data task. By default this type conforms to ResponseHandler protocol, so that it could accept generic response handlers to be served on request completion.

    See more

    Declaration

    Swift

    public protocol SessionTask : ResponseHandler, Responsible
  • The type to conform in order to get URLSessionTask updates

    See more

    Declaration

    Swift

    public protocol Responsible
  • Types adopting the URLConvertible protocol can be used to construct URLs, which can then be used to construct URLRequests.

    See more

    Declaration

    Swift

    public protocol URLProvider
  • Types adopting the URLRequestConvertible protocol can be used to safely construct URLRequests.

    See more

    Declaration

    Swift

    public protocol URLRequestProvider
  • The interface to check and block playback from insecure devices

    See more

    Declaration

    Swift

    public protocol FLDeviceSecurity
  • A protocol for receiving updates from a speed test.

    See more

    Declaration

    Swift

    public protocol SpeedTestDelegate : AnyObject
  • The contract for storage service. A base type to which all concrete providers of data storage and retrieval services must conform.

    Declaration

    Swift

    public protocol Store
  • A type to which all KeyValueStores must conform to provide key-value storage as a service.

    See more

    Declaration

    Swift

    public protocol KeyValueStore : Store
  • A protocol that defines methods for searching elements.

    See more

    Declaration

    Swift

    public protocol SearchElement
  • Generic State Machine Type

    See more

    Declaration

    Swift

    public protocol StateReducer
  • Since we cannot extend or inherit Enums, this protocol serves as the base for all events. The State reducer State(S) * Event(E) → Action (A), State (S’) accepts this Event and emits a Command to act on or state change.

    See more

    Declaration

    Swift

    public protocol Event
  • Since we cannot extend or inherit Enums, this protocol serves as the base for all commands. The State reducer State(S) * Event(E) → Action (A), State (S’) accepts an Event and emits this Command as action or state change.

    See more

    Declaration

    Swift

    public protocol Command
  • VMapParser implement XML Parsing and provide readble output as VMapResponse

    See more

    Declaration

    Swift

    public protocol VMapParser : AnyObject
  • The Interface an VMap Parser uses to inform its delegate about the output.

    See more

    Declaration

    Swift

    public protocol VMapParserDelegate : AnyObject
  • VMapKey will be an bridge to write XML to Dictionary

    See more

    Declaration

    Swift

    public protocol VMapKey : RawRepresentable