sharp-chat/Hamakaze/Headers/HttpServerHeader.cs

15 lines
381 B
C#
Raw Normal View History

2022-08-30 15:00:58 +00:00
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));
}
}
}