forked from stevenh/HttpServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProcessingResult.cs
33 lines (31 loc) · 941 Bytes
/
ProcessingResult.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
namespace HttpServer
{
/// <summary>
/// Result of processing.
/// </summary>
public enum ProcessingResult
{
/// <summary>
/// Continue with the next handler
/// </summary>
Continue,
/// <summary>
/// No more handlers can process the request.
/// </summary>
/// <remarks>
/// The server will process the response object and
/// generate a HTTP response from it.
/// </remarks>
SendResponse,
/// <summary>
/// Response have been sent back by the handler.
/// </summary>
/// <remarks>
/// This option should only be used if you are streaming
/// something or sending back a custom result. The server will
/// not process the response object or send anything back
/// to the client.
/// </remarks>
Abort
}
}