2023-06-19 23:42:47 +02:00
|
|
|
// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
2021-01-04 22:49:28 +01:00
|
|
|
|
2023-08-11 04:46:45 +02:00
|
|
|
package model // import "miniflux.app/v2/internal/model"
|
2021-01-04 22:49:28 +01:00
|
|
|
|
|
|
|
// SubscriptionDiscoveryRequest represents a request to discover subscriptions.
|
|
|
|
type SubscriptionDiscoveryRequest struct {
|
2021-02-21 22:42:49 +01:00
|
|
|
URL string `json:"url"`
|
|
|
|
UserAgent string `json:"user_agent"`
|
2021-03-23 04:27:58 +01:00
|
|
|
Cookie string `json:"cookie"`
|
2021-02-21 22:42:49 +01:00
|
|
|
Username string `json:"username"`
|
|
|
|
Password string `json:"password"`
|
|
|
|
FetchViaProxy bool `json:"fetch_via_proxy"`
|
|
|
|
AllowSelfSignedCertificates bool `json:"allow_self_signed_certificates"`
|
2024-02-25 07:08:23 +01:00
|
|
|
DisableHTTP2 bool `json:"disable_http2"`
|
2021-01-04 22:49:28 +01:00
|
|
|
}
|