public FcmSender(FcmSettings settings, HttpClient http) { this.settings = settings ?? throw new ArgumentNullException(nameof(settings)); this.http = http ?? throw new ArgumentNullException(nameof(http)); if (http.BaseAddress == null) { http.BaseAddress = new Uri(fcmUrl); } }
public FcmSender(FcmSettings settings, HttpClient http) { this.settings = settings; this.http = http; }