public Client(Gs2.Unity.Util.Profile profile) { _profile = profile; _client = new Gs2NewsWebSocketClient(profile.Gs2Session); if (profile.checkRevokeCertificate) { _restClient = new Gs2NewsRestClient(profile.Gs2RestSession); } else { _restClient = new Gs2NewsRestClient(profile.Gs2RestSession, new DisabledCertificateHandler()); } }
public Client(Gs2.Unity.Util.Profile profile) { _profile = profile; _client = new Gs2NewsWebSocketClient(profile.Gs2Session); _restClient = new Gs2NewsRestClient(profile.Gs2RestSession); }