예제 #1
0
 public RouterMiddleware Delete(string localPath, Middleware <RequestContext> handler)
 {
     this.Use(EndpointMiddleware.GenericHandler("DELETE", localPath, handler));
     return(this);
 }
예제 #2
0
 public RouterMiddleware Post(string localPath, Middleware <RequestContext> handler)
 {
     this.Use(EndpointMiddleware.GenericHandler("POST", localPath, handler));
     return(this);
 }