rest-assured/src/main/java/io/restassured/RestAssured.java
public static void proxy(String host, int port, String scheme) {
        proxy(new ProxySpecification(host, port, scheme));
    }
public static void proxy(String host, int port, String scheme) {
        proxy(new ProxySpecification(host, port, scheme));
    }
public static void proxy ( String host , int port , String scheme ) { proxy ( new ProxySpecification ( host , port , scheme ) ) ; }
Instruct REST Assured to connect to a proxy on the specified port on localhost with a specific scheme.

@param host   The hostname of the proxy to connect to (for example <code>127.0.0.1</code>)
@param port   The port of the proxy to connect to (for example <code>8888</code>)
@param scheme The http scheme (http or https)
Instruct REST Assured to connect to a proxy on the specified port on localhost with a specific scheme .