Class used to create a set of options to pass to the createInputStream() method. 
You can chain together a series of calls to this class's methods to create a set of whatever options you want to specify, e.g. 
if (
auto inputStream = 
URL (
"http://www.xyz.com/foobar")
 
{
    ...
}
@ inAddress
Definition juce_URL.h:331
 
std::unique_ptr< InputStream > createInputStream(const InputStreamOptions &options) const
Attempts to open a stream that can read from this URL.
 
URL()
Creates an empty URL.
 
  
The documentation for this class was generated from the following file:
◆ InputStreamOptions()
  
  
      
        
          | juce::URL::InputStreamOptions::InputStreamOptions  | 
          ( | 
          ParameterHandling |           parameterHandling | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
 
◆ withProgressCallback()
  
  
      
        
          | InputStreamOptions juce::URL::InputStreamOptions::withProgressCallback  | 
          ( | 
          std::function< bool(int bytesSent, int totalBytes)> |           progressCallback | ) | 
           const | 
         
       
   | 
  
nodiscard   | 
  
 
A callback function to keep track of the operation's progress. 
This can be useful for lengthy POST operations, so that you can provide user feedback. 
References InputStreamOptions().
 
 
◆ withExtraHeaders()
A string that will be appended onto the headers that are used for the request. 
It must be a valid set of HTML header directives, separated by newlines. 
References InputStreamOptions().
 
 
◆ withConnectionTimeoutMs()
  
  
      
        
          | InputStreamOptions juce::URL::InputStreamOptions::withConnectionTimeoutMs  | 
          ( | 
          int |           connectionTimeoutMs | ) | 
           const | 
         
       
   | 
  
nodiscard   | 
  
 
Specifies a timeout for the request in milliseconds. 
If 0, this will use whatever default setting the OS chooses. If a negative number, it will be infinite. 
References InputStreamOptions().
 
 
◆ withResponseHeaders()
If this is non-null, all the (key, value) pairs received as headers in the response will be stored in this array. 
References InputStreamOptions().
 
 
◆ withStatusCode()
  
  
      
        
          | InputStreamOptions juce::URL::InputStreamOptions::withStatusCode  | 
          ( | 
          int * |           statusCode | ) | 
           const | 
         
       
   | 
  
nodiscard   | 
  
 
If this is non-null, it will get set to the http status code, if one is known, or 0 if a code isn't available. 
References InputStreamOptions().
 
 
◆ withNumRedirectsToFollow()
  
  
      
        
          | InputStreamOptions juce::URL::InputStreamOptions::withNumRedirectsToFollow  | 
          ( | 
          int |           numRedirectsToFollow | ) | 
           const | 
         
       
   | 
  
nodiscard   | 
  
 
Specifies the number of redirects that will be followed before returning a response. 
N.B. This will be ignored on Android which follows up to 5 redirects. 
References InputStreamOptions().
 
 
◆ withHttpRequestCmd()
◆ getParameterHandling()
◆ getProgressCallback()
  
  
      
        
          | std::function< bool(int, int)> juce::URL::InputStreamOptions::getProgressCallback  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenoexcept   | 
  
 
 
◆ getExtraHeaders()
  
  
      
        
          | String juce::URL::InputStreamOptions::getExtraHeaders  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenoexcept   | 
  
 
 
◆ getConnectionTimeoutMs()
  
  
      
        
          | int juce::URL::InputStreamOptions::getConnectionTimeoutMs  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenoexcept   | 
  
 
 
◆ getResponseHeaders()
  
  
      
        
          | StringPairArray * juce::URL::InputStreamOptions::getResponseHeaders  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenoexcept   | 
  
 
 
◆ getStatusCode()
  
  
      
        
          | int * juce::URL::InputStreamOptions::getStatusCode  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenoexcept   | 
  
 
 
◆ getNumRedirectsToFollow()
  
  
      
        
          | int juce::URL::InputStreamOptions::getNumRedirectsToFollow  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenoexcept   | 
  
 
 
◆ getHttpRequestCmd()
  
  
      
        
          | String juce::URL::InputStreamOptions::getHttpRequestCmd  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenoexcept   |