Class HttpServerParameters
Defines configuration parameters for HTTP server.
public class HttpServerParameters
- Inheritance
-
HttpServerParameters
- Inherited Members
Constructors
HttpServerParameters()
public HttpServerParameters()
Properties
HttpPorts
Gets or sets the list of ports to listen on for HTTP protocol.
public List<int> HttpPorts { get; set; }
Property Value
HttpsPorts
Gets or sets the list of ports to listen on for HTTPS protocol.
public List<int> HttpsPorts { get; set; }
Property Value
Methods
Clone()
Creates a deep copy of this instance.
public HttpServerParameters Clone()
Returns
- HttpServerParameters
A new HttpServerParameters instance with copied port lists.
Equals(HttpServerParameters)
Determines whether this instance equals another HttpServerParameters instance.
public bool Equals(HttpServerParameters obj)
Parameters
objHttpServerParametersThe instance to compare with.
Returns
- bool
True if both instances have identical port configurations; otherwise, false.