public ApnsServiceBuilder withSocksProxy ( String host , int port ) { Proxy proxy = new Proxy ( Proxy . Type . SOCKS , new InetSocketAddress ( host , port ) ) ; return withProxy ( proxy ) ; }
Specify the address of the SOCKS proxy the connection should use .