public ChaosWebSocketClient(IOptions <ChaosClientConfig> config, IChaosConverter chaosConverter) { _chaosConverter = chaosConverter; _config = config; _binarySerializer = new ChaosBinarySerializer(); Initialize(); }
public ChaosGrpcClient(IOptions <ChaosClientConfig> config, IChaosConverter chaosConverter) { _chaosConverter = chaosConverter; _channel = new Channel(config.Value.GetIpPort(), ChannelCredentials.Insecure); _client = new ChaosProtoClient(_channel); }