From 8dfedea3939757da3e0cb48c12fcd097a8581a8e Mon Sep 17 00:00:00 2001 From: uwaa Date: Sun, 24 Nov 2024 07:45:54 +0000 Subject: [PATCH] http: move FieldCallback --- HTTP/HttpFields.cs | 2 ++ HTTP/HttpResponse.cs | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) 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