client | 
            
            
            
                
BoxClient
            
             | 
            
                
                
                
                
                 | 
            
            
            The client to use to upload the file | 
        
    
        
            
                uploadSessionInfo | 
            
            
            
                
Object
            
             | 
            
                
                
                
                
                 | 
            
            
            The upload session info to use for chunked upload | 
        
    
        
            
                file | 
            
            
            
                
ReadableStream
|
Buffer
|
string
            
             | 
            
                
                
                
                
                 | 
            
            
            The file to upload | 
        
    
        
            
                size | 
            
            
            
                
int
            
             | 
            
                
                
                
                
                 | 
            
            
            The size of the file to be uploaded | 
        
    
        
            
                options | 
            
            
            
                
Object
            
             | 
            
                
                
                    <optional> 
                
                
                
                 | 
            
            
            Optional parameters
                Properties
                
    
    
        
        | Name | 
        
        Type | 
        
        Attributes | 
        
        
        Default | 
        
        Description | 
     
    
    
    
        
            
                retryInterval | 
            
            
            
                
int
            
             | 
            
                
                
                    <optional> 
                
                
                
                 | 
            
            
                
                
                    1000
                
                 | 
            
            The number of ms to wait before retrying operations | 
         
    
        
            
                parallelism | 
            
            
            
                
int
            
             | 
            
                
                
                    <optional> 
                
                
                
                 | 
            
            
                
                
                    4
                
                 | 
            
            The number of concurrent chunks to upload | 
         
    
        
            
                fileAttributes | 
            
            
            
                
Object
            
             | 
            
                
                
                    <optional> 
                
                
                
                 | 
            
            
                
                
                 | 
            
            Attributes to set on the file during commit | 
         
    
    
 
             |