Ejemplo n.º 1
0
 public WebhookRegistry.HTTPResponseData gitHook(List <string> arguments, string body, string method, NameValueCollection headers)
 {
     GitCommands.Process(body, headers.Get("X-Github-Event"));
     WebhookRegistry.HTTPResponseData reply = new WebhookRegistry.HTTPResponseData();
     reply.ReplyString = "Done";
     reply.Status      = 200;
     // removed a line here that triggered a git refresh
     return(reply);
 }