Skip to content

Commit

Permalink
export method
Browse files Browse the repository at this point in the history
  • Loading branch information
Oshi41 committed Dec 7, 2024
1 parent 4e46717 commit b896242
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/NetCoreServer/api/IHttpSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,12 @@ public interface IHttpSession : ISession
/// Get the HTTP response
/// </summary>
public HttpResponse Response { get; }

/// <summary>
/// Send the HTTP response (asynchronous)
/// </summary>
/// <param name="response">HTTP response</param>
/// <returns>'true' if the current HTTP response was successfully sent, 'false' if the session is not connected</returns>

bool SendResponseAsync(HttpResponse response);
}

0 comments on commit b896242

Please sign in to comment.