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.22Declaration
Swift
func urlSession(forConnection: String, scheme: String, port: Int, withConfiguration: URLSessionConfiguration, delegate: URLSessionDelegate, delegateQueue: OperationQueue?) -> URLSession?Parameters
forConnectionThe connection URL.
schemeProtocol.
portPort to use.
withConfigurationConfiguration for the session.
delegateSession delegate.
delegateQueueQueue to use for this request.
Return Value
the
URLSession
View on GitHub
SASNetworkDelegate Protocol Reference