use of com.microsoft.azure.toolkit.lib.common.utils.WebSocketSSLProxy in project azure-tools-for-java by Microsoft.
the class TunnelProxy method reset.
public void reset() {
String host = appService.hostName().toLowerCase().replace("http://", "").replace("https://", "");
String[] parts = host.split("\\.", 2);
host = Joiner.on('.').join(parts[0], "scm", parts[1]);
PublishingProfile publishingProfile = appService.getPublishingProfile();
wssProxy = new WebSocketSSLProxy(String.format("wss://%s/AppServiceTunnel/Tunnel.ashx", host), publishingProfile.getGitUsername(), publishingProfile.getGitPassword());
}
use of com.microsoft.azure.toolkit.lib.common.utils.WebSocketSSLProxy in project azure-tools-for-java by microsoft.
the class TunnelProxy method reset.
public void reset() {
String host = appService.hostName().toLowerCase().replace("http://", "").replace("https://", "");
String[] parts = host.split("\\.", 2);
host = Joiner.on('.').join(parts[0], "scm", parts[1]);
PublishingProfile publishingProfile = appService.getPublishingProfile();
wssProxy = new WebSocketSSLProxy(String.format("wss://%s/AppServiceTunnel/Tunnel.ashx", host), publishingProfile.getGitUsername(), publishingProfile.getGitPassword());
}
Aggregations