The host header needs to be set with the target domain
mHubConnection = new HubConnection(serverUrl);Credentials credentials = new Credentials() { @Override public void prepareRequest(Request request) { request.addHeader("Host", "domain name"); } };mHubConnection.setCredentials(credentials);
No comments:
Post a Comment