Table of Contents

Class EndpointSettings

Namespace
AdvanceFileUpload.API
Assembly
AdvanceFileUpload.API.dll

Defines the configuration for an individual endpoint, including network binding, security, and protocol options.

public class EndpointSettings
Inheritance
EndpointSettings
Inherited Members

Properties

Certificate

Gets or sets the certificate settings for HTTPS on this endpoint.

public CertificateSettings Certificate { get; set; }

Property Value

CertificateSettings

ClientCertificateMode

Gets or sets the client certificate mode. Options include: "NoCertificate", "AllowCertificate", "RequireCertificate".

public string ClientCertificateMode { get; set; }

Property Value

string

Https

Gets or sets a value indicating whether HTTPS is enabled for this endpoint.

public bool Https { get; set; }

Property Value

bool

Ip

Gets or sets the IP address to bind.
Use "0.0.0.0" to listen on all network interfaces.

public string Ip { get; set; }

Property Value

string

Default Value: 0.0.0.0

Port

Gets or sets the port number on which the server will listen.

public int Port { get; set; }

Property Value

int

Protocols

Gets or sets the allowed HTTP protocols for this endpoint. Supported values are "Http1", "Http2", and "Http3".

public List<string> Protocols { get; set; }

Property Value

List<string>

SslProtocols

Gets or sets the allowed SSL/TLS protocol versions. Typically includes "Tls12" and "Tls13".

public List<string> SslProtocols { get; set; }

Property Value

List<string>