Interface RawClient

    • Method Detail

      • makeRequest

        void makeRequest​(String method,
                         String path,
                         PayloadFormat format,
                         InputStream body,
                         Map<String,​List<String>> headers,
                         RawClient.ResponseCallback callback)
        Make a raw HTTP request to salesforce
        Parameters:
        method - HTTP method. "GET", "POST", etc.
        path - the path of the URL. Must begin with a "/"
        body - Optional HTTP body
        headers - HTTP headers
        callback - callback instance that will be invoked when the HTTP call returns