     
     /// Should SSL verification be disabled
     private var disableSSLVerification = false
-    
+
+    /// Should HTTP/2 protocol be used
+    private var useHTTP2 = false
+
+    /// Data that represents the "HTTP/2 " header status line prefix
+    fileprivate static let Http2StatusLineVersion = "HTTP/2 ".data(using: .utf8)!
+
+    /// Data that represents the "HTTP/2.0 " (with a minor) header status line prefix
+    fileprivate static let Http2StatusLineVersionWithMinor = "HTTP/2.0 ".data(using: .utf8)!
+
     /// Client request option enum
     public enum Options {
         

                let p = privateData?.assumingMemoryBound(to: CurlInvokerDelegate.self).pointee
                return (p?.curlWriteCallback(buf!, size: size*nMemb))!
        }
    }
    
}


        // To see the messages sent by libCurl, uncomment the next line of code
        //curlHelperSetOptInt(handle, CURLOPT_VERBOSE, 1)
		
        if useHTTP2 {
            curlHelperSetOptInt(handle!, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0)
        }
    }

    /// Sets the HTTP method and Content-Length in libCurl
