pub struct NetworkConfiguration {Show 23 fields
pub auto_discovery: Option<bool>,
pub base_url: Option<String>,
pub certificate_password: Option<String>,
pub certificate_path: Option<String>,
pub enable_https: Option<bool>,
pub enable_i_pv4: Option<bool>,
pub enable_i_pv6: Option<bool>,
pub enable_published_server_uri_by_request: Option<bool>,
pub enable_remote_access: Option<bool>,
pub enable_u_pn_p: Option<bool>,
pub ignore_virtual_interfaces: Option<bool>,
pub internal_http_port: Option<i32>,
pub internal_https_port: Option<i32>,
pub is_remote_ip_filter_blacklist: Option<bool>,
pub known_proxies: Vec<String>,
pub local_network_addresses: Vec<String>,
pub local_network_subnets: Vec<String>,
pub public_http_port: Option<i32>,
pub public_https_port: Option<i32>,
pub published_server_uri_by_subnet: Vec<String>,
pub remote_ip_filter: Vec<String>,
pub require_https: Option<bool>,
pub virtual_interface_names: Vec<String>,
}
Expand description
Defines the MediaBrowser.Common.Net.NetworkConfiguration.
JSON schema
{
"description": "Defines the
MediaBrowser.Common.Net.NetworkConfiguration.",
"type": "object",
"properties": {
"AutoDiscovery": {
"description": "Gets or sets a value indicating whether
Autodiscovery is enabled.",
"type": "boolean"
},
"BaseUrl": {
"description": "Gets or sets a value used to specify the URL prefix
that your Jellyfin instance can be accessed at.",
"type": "string"
},
"CertificatePassword": {
"description": "Gets or sets the password required to access the
X.509 certificate data in the file specified by
MediaBrowser.Common.Net.NetworkConfiguration.CertificatePath.",
"type": "string"
},
"CertificatePath": {
"description": "Gets or sets the filesystem path of an X.509
certificate to use for SSL.",
"type": "string"
},
"EnableHttps": {
"description": "Gets or sets a value indicating whether to use
HTTPS.",
"type": "boolean"
},
"EnableIPv4": {
"description": "Gets or sets a value indicating whether IPv6 is
enabled.",
"type": "boolean"
},
"EnableIPv6": {
"description": "Gets or sets a value indicating whether IPv6 is
enabled.",
"type": "boolean"
},
"EnablePublishedServerUriByRequest": {
"description": "Gets or sets a value indicating whether the
published server uri is based on information in HTTP requests.",
"type": "boolean"
},
"EnableRemoteAccess": {
"description": "Gets or sets a value indicating whether access from
outside of the LAN is permitted.",
"type": "boolean"
},
"EnableUPnP": {
"description": "Gets or sets a value indicating whether to enable
automatic port forwarding.",
"type": "boolean"
},
"IgnoreVirtualInterfaces": {
"description": "Gets or sets a value indicating whether address
names that match
MediaBrowser.Common.Net.NetworkConfiguration.VirtualInterfaceNames
should be ignored for the purposes of binding.",
"type": "boolean"
},
"InternalHttpPort": {
"description": "Gets or sets the internal HTTP server port.",
"type": "integer",
"format": "int32"
},
"InternalHttpsPort": {
"description": "Gets or sets the internal HTTPS server port.",
"type": "integer",
"format": "int32"
},
"IsRemoteIPFilterBlacklist": {
"description": "Gets or sets a value indicating whether <seealso
cref=\"P:MediaBrowser.Common.Net.NetworkConfiguration.RemoteIPFilter\"
/> contains a blacklist or a whitelist. Default is a whitelist.",
"type": "boolean"
},
"KnownProxies": {
"description": "Gets or sets the known proxies.",
"type": "array",
"items": {
"type": "string"
}
},
"LocalNetworkAddresses": {
"description": "Gets or sets the interface addresses which Jellyfin
will bind to. If empty, all interfaces will be used.",
"type": "array",
"items": {
"type": "string"
}
},
"LocalNetworkSubnets": {
"description": "Gets or sets the subnets that are deemed to make up
the LAN.",
"type": "array",
"items": {
"type": "string"
}
},
"PublicHttpPort": {
"description": "Gets or sets the public HTTP port.",
"type": "integer",
"format": "int32"
},
"PublicHttpsPort": {
"description": "Gets or sets the public HTTPS port.",
"type": "integer",
"format": "int32"
},
"PublishedServerUriBySubnet": {
"description": "Gets or sets the PublishedServerUriBySubnet\r\nGets
or sets PublishedServerUri to advertise for specific subnets.",
"type": "array",
"items": {
"type": "string"
}
},
"RemoteIPFilter": {
"description": "Gets or sets the filter for remote IP connectivity.
Used in conjunction with <seealso
cref=\"P:MediaBrowser.Common.Net.NetworkConfiguration.
IsRemoteIPFilterBlacklist\" />.",
"type": "array",
"items": {
"type": "string"
}
},
"RequireHttps": {
"description": "Gets or sets a value indicating whether the server
should force connections over HTTPS.",
"type": "boolean"
},
"VirtualInterfaceNames": {
"description": "Gets or sets a value indicating the interface name
prefixes that should be ignored. The list can be comma separated and
values are case-insensitive. <seealso
cref=\"P:MediaBrowser.Common.Net.NetworkConfiguration.
IgnoreVirtualInterfaces\" />.",
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
Fields§
§auto_discovery: Option<bool>
Gets or sets a value indicating whether Autodiscovery is enabled.
base_url: Option<String>
Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at.
certificate_password: Option<String>
Gets or sets the password required to access the X.509 certificate data in the file specified by MediaBrowser.Common.Net.NetworkConfiguration.CertificatePath.
certificate_path: Option<String>
Gets or sets the filesystem path of an X.509 certificate to use for SSL.
enable_https: Option<bool>
Gets or sets a value indicating whether to use HTTPS.
enable_i_pv4: Option<bool>
Gets or sets a value indicating whether IPv6 is enabled.
enable_i_pv6: Option<bool>
Gets or sets a value indicating whether IPv6 is enabled.
enable_published_server_uri_by_request: Option<bool>
Gets or sets a value indicating whether the published server uri is based on information in HTTP requests.
enable_remote_access: Option<bool>
Gets or sets a value indicating whether access from outside of the LAN is permitted.
enable_u_pn_p: Option<bool>
Gets or sets a value indicating whether to enable automatic port forwarding.
ignore_virtual_interfaces: Option<bool>
Gets or sets a value indicating whether address names that match MediaBrowser.Common.Net.NetworkConfiguration.VirtualInterfaceNames should be ignored for the purposes of binding.
internal_http_port: Option<i32>
Gets or sets the internal HTTP server port.
internal_https_port: Option<i32>
Gets or sets the internal HTTPS server port.
is_remote_ip_filter_blacklist: Option<bool>
Gets or sets a value indicating whether
known_proxies: Vec<String>
Gets or sets the known proxies.
local_network_addresses: Vec<String>
Gets or sets the interface addresses which Jellyfin will bind to. If empty, all interfaces will be used.
local_network_subnets: Vec<String>
Gets or sets the subnets that are deemed to make up the LAN.
public_http_port: Option<i32>
Gets or sets the public HTTP port.
public_https_port: Option<i32>
Gets or sets the public HTTPS port.
published_server_uri_by_subnet: Vec<String>
Gets or sets the PublishedServerUriBySubnet Gets or sets PublishedServerUri to advertise for specific subnets.
remote_ip_filter: Vec<String>
Gets or sets the filter for remote IP connectivity. Used in
conjunction with
require_https: Option<bool>
Gets or sets a value indicating whether the server should force connections over HTTPS.
virtual_interface_names: Vec<String>
Gets or sets a value indicating the interface name prefixes that
should be ignored. The list can be comma separated and values are
case-insensitive.
Implementations§
Source§impl NetworkConfiguration
impl NetworkConfiguration
pub fn builder() -> NetworkConfiguration
Trait Implementations§
Source§impl Clone for NetworkConfiguration
impl Clone for NetworkConfiguration
Source§fn clone(&self) -> NetworkConfiguration
fn clone(&self) -> NetworkConfiguration
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more