mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-07-07 19:47:15 +08:00
naming and plan
This commit is contained in:
@ -14,6 +14,13 @@ namespace Ocelot.Library.Middleware
|
||||
|
||||
public async Task Invoke(HttpContext context)
|
||||
{
|
||||
//get the downstream host from the request context
|
||||
//get the upstream host from the host repository
|
||||
//if no upstream host fail this request
|
||||
//get the downstream path from the request context
|
||||
//get the downstream path template from the path template finder
|
||||
//todo think about variables..
|
||||
//add any query string..
|
||||
await _next.Invoke(context);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user