BoxNetworkAgent
public class BoxNetworkAgent : NSObject, NetworkAgentProtocol
Implementation of networking layer
-
Initializer.
Declaration
Swift
public init( configuration: BoxSDKConfiguration = BoxSDK.defaultConfiguration )
Parameters
configuration
Box SDK configuration. If nil, default configuration is used.
-
Makes Box SDK request
Declaration
Swift
public func send( request: BoxRequest, completion: @escaping Callback<BoxResponse> )
Parameters
request
Box SDK request
completion
Returns standard BoxResponse object or error.