FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
uhttpsharp/uhttpsharp/Controllers/IPipeline.cs at master · bonesoul/uhttpsharp · GitHub
bonesoul
/
uhttpsharp
Public
Notifications
You must be signed in to change notification settings
Fork
98
Star
178
Code
Issues
11
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
uhttpsharp
/
uhttpsharp
/
Controllers
/
IPipeline.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
22 lines (20 loc) · 853 Bytes
Breadcrumbs
uhttpsharp
/
uhttpsharp
/
Controllers
/
IPipeline.cs
Copy path
File metadata and controls
22 lines (20 loc) · 853 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using
System
;
using
System
.
Threading
.
Tasks
;
using
uhttpsharp
.
Handlers
;
namespace
uhttpsharp
.
Controllers
{
/// <summary>
/// Represents a series of functions and an entry point in which a function can be called at.
/// </summary>
public
interface
IPipeline
{
/// <summary>
/// Starts the pipeline.
/// An empty pipeline implementation will just return the task of the injected task function.
/// </summary>
/// <param name="injectedTask">The function to be called at the appropriate stage.</param>
/// <param name="context">The context in which this task will run (in case you need to check something before the actual task runs).</param>
/// <returns></returns>
Task
<
IControllerResponse
>
Go
(
Func
<
Task
<
IControllerResponse
>
>
injectedTask
,
IHttpContext
context
)
;
}
}
Back
|
FazBrowse Home
|
New Git URL