示例#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);
 }