{"action":"opened","issue":{"url":"https://api.github.com/repos/stefanprodan/WebApiThrottle/issues/63","repository_url":"https://api.github.com/repos/stefanprodan/WebApiThrottle","labels_url":"https://api.github.com/repos/stefanprodan/WebApiThrottle/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/stefanprodan/WebApiThrottle/issues/63/comments","events_url":"https://api.github.com/repos/stefanprodan/WebApiThrottle/issues/63/events","html_url":"https://github.com/stefanprodan/WebApiThrottle/issues/63","id":167233625,"number":63,"title":"The class 'WebApiThrottle.ThrottlingMiddleware' does not have a constructor taking 5 arguments.","user":{"login":"meywd","id":3499969,"avatar_url":"https://avatars.githubusercontent.com/u/3499969?v=3","gravatar_id":"","url":"https://api.github.com/users/meywd","html_url":"https://github.com/meywd","followers_url":"https://api.github.com/users/meywd/followers","following_url":"https://api.github.com/users/meywd/following{/other_user}","gists_url":"https://api.github.com/users/meywd/gists{/gist_id}","starred_url":"https://api.github.com/users/meywd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meywd/subscriptions","organizations_url":"https://api.github.com/users/meywd/orgs","repos_url":"https://api.github.com/users/meywd/repos","events_url":"https://api.github.com/users/meywd/events{/privacy}","received_events_url":"https://api.github.com/users/meywd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-24T13:31:29Z","updated_at":"2016-07-24T13:31:29Z","closed_at":null,"body":"I am using the ThrottlingMiddleware and I get the following error\r\n\r\n> The class 'WebApiThrottle.ThrottlingMiddleware' does not have a constructor taking 5 arguments.\r\n\r\n```\r\napp.Use(typeof(ThrottlingMiddleware),\r\n                new ThrottlePolicy(perSecond: 5, perMinute: 120, perHour: 700, perDay: 10000)\r\n                {\r\n                    IpThrottling = true,\r\n                    ClientThrottling = true,\r\n                    EndpointThrottling = true,\r\n                },\r\n                new PolicyCacheRepository(),\r\n                new CacheRepository(),\r\n                null);\r\n```"}}
{"actor":{"display_login":"meywd"}}