SASNetworkDelegate

@objc
public protocol SASNetworkDelegate

Network IO definition for the SASManager

This interface defines the Network functionality for the SASManager. User applications can override this delegate via SASManagerDelegate.getNetworkDelegate().

Since

since 8.22
  • Returns a URLSession object for network communication.

    Since

    since 8.22

    Declaration

    Swift

    func urlSession(forConnection: String, scheme: String, port: Int, withConfiguration: URLSessionConfiguration, delegate: URLSessionDelegate, delegateQueue: OperationQueue?) -> URLSession?

    Parameters

    forConnection

    The connection URL.

    scheme

    Protocol.

    port

    Port to use.

    withConfiguration

    Configuration for the session.

    delegate

    Session delegate.

    delegateQueue

    Queue to use for this request.

    Return Value

    the URLSession