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