src/main/java/js/net/EventStream.java
protected void config(EventStreamConfig config) {
		if (config.hasSecretKey()) {
			secretKey = config.getSecretKey();
		}
		if (config.hasKeepAlivePeriod()) {
			keepAlivePeriod = config.getKeepAlivePeriod();
		}
		parameters = config.getParameters();
	}
protected void config(EventStreamConfig config) {
		if (config.hasSecretKey()) {
			secretKey = config.getSecretKey();
		}
		if (config.hasKeepAlivePeriod()) {
			keepAlivePeriod = config.getKeepAlivePeriod();
		}
		parameters = config.getParameters();
	}
Configure events stream instance from configuration object.

@param config event stream configuration object.