Constructor
new Connection(url, optionsopt)
    Creates a new instance of Connection.
    Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url | 
            
            String | The resource uri. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
options | 
            
            Object | 
                
                    <optional> | 
            
            
            The connection options.
                Properties
  | 
        
- Source:
 
Members
mimeType :String
    Gets the MIME type.
    Type:
- String
 
- Source:
 
Methods
close() → {Promise}
    Closes the Connection.
- Source:
 
Returns:
- Type
 - Promise
 
(async) open() → {Promise}
    Opens the connection, if its not already opened.
- Source:
 
Returns:
- Type
 - Promise
 
stream()
- Source:
 
submit()
- Source: