public void AddTargetForMethod(string method, Server.EndpointHandler target) { targets[method] = target; }
public HandlerInfo(Server.EndpointHandler defaultTarget) { targets = new Dictionary <string, Server.EndpointHandler>(); targets[""] = defaultTarget; }