Class ServerAddress
Where to reach a server: the base address, whose host the TLS certificate must be valid for, and the Host header.
Implements
Inherited Members
Namespace: Uniform.Matrix.Server.Federation
Assembly: Uniform.Matrix.Server.dll
Syntax
public sealed record ServerAddress : IEquatable<ServerAddress>
Constructors
| Edit this page View SourceServerAddress(Uri, string)
Where to reach a server: the base address, whose host the TLS certificate must be valid for, and the Host header.
Declaration
public ServerAddress(Uri BaseAddress, string HostHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | BaseAddress | E.g. |
| string | HostHeader | E.g. |
Properties
| Edit this page View SourceBaseAddress
E.g. https://matrix.example.org:8448/.
Declaration
public Uri BaseAddress { get; init; }
Property Value
| Type | Description |
|---|---|
| Uri |
HostHeader
E.g. matrix.example.org, or with the port when the name has one.
Declaration
public string HostHeader { get; init; }
Property Value
| Type | Description |
|---|---|
| string |