15 lines
381 B
C#
15 lines
381 B
C#
|
using System;
|
|||
|
|
|||
|
namespace Hamakaze.Headers {
|
|||
|
public class HttpServerHeader : HttpHeader {
|
|||
|
public const string NAME = @"Server";
|
|||
|
|
|||
|
public override string Name => NAME;
|
|||
|
public override object Value { get; }
|
|||
|
|
|||
|
public HttpServerHeader(string server) {
|
|||
|
Value = server ?? throw new ArgumentNullException(nameof(server));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|