diff --git a/HTTP/HttpFields.cs b/HTTP/HttpFields.cs index 7b33030..8b5526a 100644 --- a/HTTP/HttpFields.cs +++ b/HTTP/HttpFields.cs @@ -173,6 +173,8 @@ public record HttpFields } } +public delegate void FieldCallback(string name, string value); + public enum ConnectionType { Close, diff --git a/HTTP/HttpResponse.cs b/HTTP/HttpResponse.cs index a39e71b..0b68de1 100644 --- a/HTTP/HttpResponse.cs +++ b/HTTP/HttpResponse.cs @@ -115,6 +115,4 @@ public class HttpResponse await stream.Flush(); } -} - -public delegate void FieldCallback(string name, string value); \ No newline at end of file +} \ No newline at end of file