/// <param name="endpoint">A <see cref="PlatformEndpoint"/> or null. On null <see cref="PlatformEndpoint.SMITE"/> will be used.</param> public Client(PlatformEndpoint?endpoint = null) { _endpoint = endpoint ?? PlatformEndpoint.SMITE; _client = new RequestClient(_endpoint); }
/// <param name="endpoint">A <see cref="PlatformEndpoint"/> or null. On null <see cref="PlatformEndpoint.SMITE"/> will be used.</param> /// <param name="dataFormat">If not specified <see cref="DataFormat.JSON"/> will be used</param> public RequestClient(PlatformEndpoint?endpoint = null, DataFormat?dataFormat = null) { _endpoint = endpoint ?? PlatformEndpoint.SMITE; _dataFormat = dataFormat ?? DataFormat.JSON; }