From b8962429e9a56650442c9526be6ed1a3b47af560 Mon Sep 17 00:00:00 2001 From: Arkady Date: Sun, 8 Dec 2024 00:01:28 +0300 Subject: [PATCH] export method --- source/NetCoreServer/api/IHttpSession.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/NetCoreServer/api/IHttpSession.cs b/source/NetCoreServer/api/IHttpSession.cs index 2ea80e0..ad7d7e2 100644 --- a/source/NetCoreServer/api/IHttpSession.cs +++ b/source/NetCoreServer/api/IHttpSession.cs @@ -16,4 +16,12 @@ public interface IHttpSession : ISession /// Get the HTTP response /// public HttpResponse Response { get; } + + /// + /// Send the HTTP response (asynchronous) + /// + /// HTTP response + /// 'true' if the current HTTP response was successfully sent, 'false' if the session is not connected + + bool SendResponseAsync(HttpResponse response); } \ No newline at end of file